]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-search.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-search.c
index 1cc843075ec53b9d2ac0e973448c85422121adde..7dfd270e2019c651d6738a04e2cca7766a92bff7 100644 (file)
@@ -545,7 +545,7 @@ notmuch_search_command (void *ctx, int argc, char *argv[])
     }
 
     notmuch_query_destroy (query);
-    notmuch_database_close (notmuch);
+    notmuch_database_destroy (notmuch);
 
     return ret;
 }