[geany/geany-plugins] 7ade80: Addons: Fix a leak in ao_enclose_words_init()

Colomban Wendling git-noreply at xxxxx
Thu Jul 12 15:31:24 UTC 2012


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Thu, 12 Jul 2012 15:31:24
Commit:      7ade80af33e959e10260bae892e563e7620b3ce7
             https://github.com/geany/geany-plugins/commit/7ade80af33e959e10260bae892e563e7620b3ce7

Log Message:
-----------
Addons: Fix a leak in ao_enclose_words_init()


Modified Paths:
--------------
    addons/src/ao_wrapwords.c

Modified: addons/src/ao_wrapwords.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -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);
 }


@@ Diff output truncated at 100000 characters. @@


--------------
This E-Mail was brought to you by github_commit_mail.py (Source: TBD).



More information about the Plugins-Commits mailing list