X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fopen.cc;h=0c965d0d70cc900c865c0e52f820a386b6199774;hb=6967dcbb025280d33c9cd08502de7a5cdb051ae7;hp=b28b64e8c1dc4c82253c8d4e8705f6ada8369b1d;hpb=50092a03752180489ecc343eea93f0540c6a47af;p=notmuch diff --git a/lib/open.cc b/lib/open.cc index b28b64e8..0c965d0d 100644 --- a/lib/open.cc +++ b/lib/open.cc @@ -375,6 +375,9 @@ notmuch_database_open_with_config (const char *database_path, DONE: talloc_free (local); + if (key_file) + g_key_file_free (key_file); + if (message) { if (status_string) *status_string = message; @@ -492,6 +495,9 @@ notmuch_database_create_with_config (const char *database_path, DONE: talloc_free (local); + if (key_file) + g_key_file_free (key_file); + if (message) { if (status_string) *status_string = message;