Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Tue, 30 Jun 2015 19:19:33 UTC Commit: 82986ef49b79dd1cb7800e45c8bee56cd5c71705 https://github.com/geany/geany-plugins/commit/82986ef49b79dd1cb7800e45c8bee5...
Log Message: ----------- Merge pull request #261 from b4n/projectorganizer/leaks
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).