[geany/geany-plugins] acb1a0: GeanyVC: Fix memory leak introduced in PR #383
Enrico Tröger
git-noreply at xxxxx
Sun Mar 6 16:52:27 UTC 2016
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Sun, 06 Mar 2016 16:52:27 UTC
Commit: acb1a01ec7b25f4be31fbd83448a8934fe453326
https://github.com/geany/geany-plugins/commit/acb1a01ec7b25f4be31fbd83448a8934fe453326
Log Message:
-----------
GeanyVC: Fix memory leak introduced in PR #383
Modified Paths:
--------------
geanyvc/src/geanyvc.c
Modified: geanyvc/src/geanyvc.c
1 lines changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -2314,6 +2314,7 @@ plugin_init(G_GNUC_UNUSED GeanyData * data)
menu_vc = gtk_menu_item_new_with_mnemonic(_("_VC"));
menubar_children = gtk_container_get_children(GTK_CONTAINER(menubar));
gtk_menu_shell_insert(menubar, menu_vc, g_list_length(menubar_children) - 1);
+ g_list_free(menubar_children);
}
else
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list