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