X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-restore.c;h=02b563caae2dcbd5d52d223cf3ef6db4c2739d88;hp=d3b9246237c54ee2561eecf4cba24499d2577d4e;hb=6f7469f54744656f90ce215f365d5731e16acd3c;hpb=7400e18fb5f532524146f7083bf964c7e501bdc8 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);