X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=notmuch-dump.c;h=71ab0ea73d69f44de2505099c86f605e0d3cb33e;hp=a73587562fb9ce929e78807ec46fc8a97e5df087;hb=6f7469f54744656f90ce215f365d5731e16acd3c;hpb=2b3e9ff467d99fe02852cfcc46181c4d29dea99b;ds=sidebyside diff --git a/notmuch-dump.c b/notmuch-dump.c index a7358756..71ab0ea7 100644 --- a/notmuch-dump.c +++ b/notmuch-dump.c @@ -116,7 +116,7 @@ notmuch_dump_command (unused (void *ctx), int argc, char *argv[]) fclose (output); notmuch_query_destroy (query); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); return 0; }