]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-config.c
notmuch.h: Fix a couple of typos in the documentation.
[notmuch] / notmuch-config.c
index fc65d6b00cb1112ea59718798a3cdd2dc31be5d9..95430db104fce8583ac089f9a3e83f52c08901b0 100644 (file)
@@ -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;
 }