]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-dump.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-dump.c
index a73587562fb9ce929e78807ec46fc8a97e5df087..71ab0ea73d69f44de2505099c86f605e0d3cb33e 100644 (file)
@@ -116,7 +116,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[])
        fclose (output);
 
     notmuch_query_destroy (query);
-    notmuch_database_close (notmuch);
+    notmuch_database_destroy (notmuch);
 
     return 0;
 }