X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-config.c;h=95430db104fce8583ac089f9a3e83f52c08901b0;hp=fc65d6b00cb1112ea59718798a3cdd2dc31be5d9;hb=c25bc03dc60846090d230cdad21e39faccce35ff;hpb=91d1d3f043b82d5f3f8c04f2db71a829a7406131 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; }