Permalink
Browse files

Addons: Fix a leak in ao_enclose_words_init()

  • Loading branch information...
1 parent e7cd53a commit 7ade80af33e959e10260bae892e563e7620b3ce7 @b4n b4n committed Jul 12, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 addons/src/ao_wrapwords.c
@@ -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);
}

0 comments on commit 7ade80a

Please sign in to comment.