projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea4cb3c
)
* notmuch-config: fix small leak from 'g_key_file_to_data'
author
Dirk-Jan C. Binnema
<djcb.bulk@gmail.com>
Wed, 2 Dec 2009 07:11:24 +0000
(09:11 +0200)
committer
Carl Worth
<cworth@cworth.org>
Fri, 4 Dec 2009 19:16:26 +0000
(11:16 -0800)
Signed-off-by: Dirk-Jan C. Binnema <djcb.bulk@gmail.com>
notmuch-config.c
patch
|
blob
|
history
diff --git
a/notmuch-config.c
b/notmuch-config.c
index fc65d6b00cb1112ea59718798a3cdd2dc31be5d9..95430db104fce8583ac089f9a3e83f52c08901b0 100644
(file)
--- a/
notmuch-config.c
+++ b/
notmuch-config.c
@@
-317,9
+317,11
@@
notmuch_config_save (notmuch_config_t *config)
fprintf (stderr, "Error saving configuration to %s: %s\n",
config->filename, error->message);
g_error_free (error);
+ g_free (data);
return 1;
}
+ g_free (data);
return 0;
}