]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-count.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-count.c
index b76690c0d5eb776096c481f2aff6d9fd62a3e728..9c2ad7b2a9226bb8ee616779d88cde69171ac704 100644 (file)
@@ -107,7 +107,7 @@ notmuch_count_command (void *ctx, int argc, char *argv[])
     }
 
     notmuch_query_destroy (query);
     }
 
     notmuch_query_destroy (query);
-    notmuch_database_close (notmuch);
+    notmuch_database_destroy (notmuch);
 
     return 0;
 }
 
     return 0;
 }