H-uru/Plasma — Issue #151: Small Resource leak
Author: kloplop321
Created: 2012-02-13 17:43:20+00:00
State: open

I ran cppcheck -f through the entire Plasma project, and there were several small things that it picked up.

## plGImage
`[./Sources/Plasma/PubUtilLib/plGImage/plFont.cpp:1916]: (error) Resource leak: fp
The fp resource leak is caused by a return in a catch-all (...) statement, so the file resource was never freed(_it was verified to exist before the try_).

I looked through the 20ish reports that it came up with, but that one is the only definite one, where the others were mostly false alarms for when memory allocation fails.