aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-restore.c
diff options
context:
space:
mode:
Diffstat (limited to 'notmuch-restore.c')
-rw-r--r--notmuch-restore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-restore.c b/notmuch-restore.c
index d3b92462..02b563ca 100644
--- a/notmuch-restore.c
+++ b/notmuch-restore.c
@@ -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);