Skip to content

Commit

Permalink
Merge pull request #58 from b4n/fixes/addons
Browse files Browse the repository at this point in the history
Addons: Fix a leak in ao_enclose_words_init()
  • Loading branch information
frlan committed Jul 13, 2012
2 parents d65430a + 7ade80a commit 14dc717
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions addons/src/ao_wrapwords.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,8 @@ void ao_enclose_words_init (gchar *config_file_name, GeanyKeyGroup *key_group)

}

g_key_file_free(config);

plugin_signal_connect(geany_plugin, G_OBJECT(geany->main_widgets->window), "key-press-event",
FALSE, G_CALLBACK(on_key_press), NULL);
}
Expand Down

0 comments on commit 14dc717

Please sign in to comment.