[geany/geany-plugins] 0d04f9: GeanyGenDoc: fix a memory leak when saving the configuration
Colomban Wendling
git-noreply at xxxxx
Thu Mar 28 14:48:12 UTC 2013
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Thu, 28 Mar 2013 14:48:12 UTC
Commit: 0d04f9e8596a18e39b32ee80bba29659c802c75e
https://github.com/geany/geany-plugins/commit/0d04f9e8596a18e39b32ee80bba29659c802c75e
Log Message:
-----------
GeanyGenDoc: fix a memory leak when saving the configuration
Modified Paths:
--------------
geanygendoc/src/ggd-options.c
Modified: geanygendoc/src/ggd-options.c
1 files changed, 1 insertions(+), 0 deletions(-)
===================================================================
@@ -619,6 +619,7 @@ struct _GgdOptGroup
data = g_key_file_to_data (key_file, &data_length, error);
if (data) {
success = g_file_set_contents (filename, data, data_length, error);
+ g_free (data);
}
g_key_file_free (key_file);
--------------
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