diff options
Diffstat (limited to 'notmuch-search.c')
-rw-r--r-- | notmuch-search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-search.c b/notmuch-search.c index 1cc84307..7dfd270e 100644 --- a/notmuch-search.c +++ b/notmuch-search.c @@ -545,7 +545,7 @@ notmuch_search_command (void *ctx, int argc, char *argv[]) } notmuch_query_destroy (query); - notmuch_database_close (notmuch); + notmuch_database_destroy (notmuch); return ret; } |