Branch: refs/heads/master Author: Frank Lanitz frank@frank.uvena.de Committer: Frank Lanitz frank@frank.uvena.de Date: Tue, 30 Jun 2015 17:50:52 UTC Commit: b318bfdd85e7877130c8350facbf23eb91e588c0 https://github.com/geany/geany-plugins/commit/b318bfdd85e7877130c8350facbf23...
Log Message: ----------- projectorganizer: Fix a few leaks reported by Valgrind
Modified Paths: -------------- projectorganizer/src/prjorg-project.c projectorganizer/src/prjorg-sidebar.c
Modified: projectorganizer/src/prjorg-project.c 3 lines changed, 3 insertions(+), 0 deletions(-) =================================================================== @@ -195,6 +195,9 @@ static gint prjorg_project_rescan_root(PrjOrgRoot *root) g_slist_foreach(ignored_dirs_list, (GFunc) g_pattern_spec_free, NULL); g_slist_free(ignored_dirs_list);
+ g_slist_foreach(ignored_file_list, (GFunc) g_pattern_spec_free, NULL); + g_slist_free(ignored_file_list); + return filenum; }
Modified: projectorganizer/src/prjorg-sidebar.c 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -1427,6 +1427,7 @@ void prjorg_sidebar_init(void)
focus_chain = g_list_prepend(focus_chain, s_file_view); gtk_container_set_focus_chain(GTK_CONTAINER(s_file_view_vbox), focus_chain); + g_list_free(focus_chain); scrollwin = gtk_scrolled_window_new(NULL, NULL); gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrollwin), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org