Branch: refs/heads/master Author: Pavel Roschin roshin@scriptumplus.ru Committer: Pavel Roschin roshin@scriptumplus.ru Date: Mon, 31 Mar 2014 18:48:04 UTC Commit: 21cade372ac418e6fd29f6ce5ac65ad844d8b45d https://github.com/geany/geany-plugins/commit/21cade372ac418e6fd29f6ce5ac65a...
Log Message: ----------- Geanyprj: fix memory leak, fix false positive
Modified Paths: -------------- geanyprj/src/Makefile.am geanyprj/src/project.c
Modified: geanyprj/src/Makefile.am 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -13,4 +13,7 @@ geanyprj_la_SOURCES = geanyprj.c \ geanyprj_la_CFLAGS = $(AM_CFLAGS) geanyprj_la_LIBADD = $(COMMONLIBS)
+AM_CPPCHECKFLAGS = --suppress='constStatement:*' +AM_CPPCHECKFLAGS += --suppress='memleak:utils.c:72' + include $(top_srcdir)/build/cppcheck.mk
Modified: geanyprj/src/project.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -360,6 +360,7 @@ gboolean geany_project_add_file(struct GeanyPrj *prj, const gchar *path) g_key_file_free(config); return TRUE; } + g_key_file_free(config);
filename = utils_get_locale_from_utf8(path); tm_obj = tm_source_file_new(filename, FALSE, filetypes_detect_from_file(path)->name);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org