X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=notmuch-dump.c;h=71ab0ea73d69f44de2505099c86f605e0d3cb33e;hb=288feb7cdf1798408c708394fd935f05acf87985;hp=a73587562fb9ce929e78807ec46fc8a97e5df087;hpb=7ced2e32d1612aa5eb154b31705236f2483f364e;p=notmuch 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; }