[Geany-Devel] bug hunting #2

Pavel Roschin roshin at xxxxx
Sun Nov 3 20:22:54 UTC 2013


Hello! Almost completed glib + Geany cppcheck config which leads to few new
errors in code:

http://pastebin.com/EihjrKyC

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


More information about the Devel mailing list