[Geany-Devel] Memory leaks in Geany

Pavel Roschin rroshin at xxxxx
Tue Sep 24 22:02:59 UTC 2013


I checked Geany with valgrind with this command line:
G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind --tool=memcheck
--leak-check=full --log-file=vgdump --suppressions=gtk.suppression
--track-origins=yes --show-possibly-lost=no src/geany

gtk.suppression you may find here: https://wiki.gnome.org/Valgrind

Report: https://gist.github.com/scriptum/6691838

Possible leaks:
- symbols.c:1877
- somewhere in tag manager (too many possibly leaks reported)

Other suggestions:
- enable -Wall -Wextra -Werror in compiler
- add cppcheck into makefile
- add valgrind command line and exceptions into project
- make debugging mode that toggles with defines/environment vars

--
Pavel


More information about the Devel mailing list