]> git.notmuchmail.org Git - notmuch/blobdiff - contrib/notmuch-deliver/src/main.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / contrib / notmuch-deliver / src / main.c
index 6f32f73d68b97decbe382b3dc84cffc3e99f259d..37d2919a54620e1088fe2100292bb0af3c9d406e 100644 (file)
@@ -455,7 +455,7 @@ main(int argc, char **argv)
        g_strfreev(opt_rtags);
        g_free(mail);
 
-       notmuch_database_close(db);
+       notmuch_database_destroy(db);
 
        return 0;
 }