]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-restore.c
Use notmuch_database_destroy instead of notmuch_database_close
[notmuch] / notmuch-restore.c
index d3b9246237c54ee2561eecf4cba24499d2577d4e..02b563caae2dcbd5d52d223cf3ef6db4c2739d88 100644 (file)
@@ -192,7 +192,7 @@ notmuch_restore_command (unused (void *ctx), int argc, char *argv[])
     if (line)
        free (line);
 
-    notmuch_database_close (notmuch);
+    notmuch_database_destroy (notmuch);
     if (input != stdin)
        fclose (input);