Skip to content

Commit

Permalink
Merge pull request #387 from eht16/geanyvc_top_menu_item_order
Browse files Browse the repository at this point in the history
GeanyVC: Fix memory leak introduced in PR #383
  • Loading branch information
frlan committed Mar 6, 2016
2 parents 8e57036 + acb1a01 commit 64219ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions geanyvc/src/geanyvc.c
Expand Up @@ -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
{
Expand Down

0 comments on commit 64219ce

Please sign in to comment.