Hello! Almost completed glib + Geany cppcheck config which leads to few new errors in code:
I removed some false-pos.
What do you think about goto-ing? Most leaks are because of return without free. Using goto instead of return and only one return at the end should be a good pattern which has no return-leaks (at least).
Here is a new config (for Geany): https://gist.github.com/scriptum/7294264
Plugins update: https://gist.github.com/scriptum/7282262
-- Best regards, Pavel Roschin aka RPG