From 926c71e6b92a6aa993330e06c27eb9d9d67c6f82 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Wed, 2 Dec 2009 09:11:24 +0200 Subject: [PATCH] * notmuch-config: fix small leak from 'g_key_file_to_data' Signed-off-by: Dirk-Jan C. Binnema --- notmuch-config.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notmuch-config.c b/notmuch-config.c index fc65d6b0..95430db1 100644 --- 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; } -- 2.43.0