aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-search.c
diff options
context:
space:
mode:
authorGravatar Justus Winter <4winter@informatik.uni-hamburg.de>2012-04-22 14:07:53 +0200
committerGravatar David Bremner <bremner@debian.org>2012-04-28 09:27:33 -0300
commit6f7469f54744656f90ce215f365d5731e16acd3c (patch)
treef2a4e5007173520921d7d5ba99743978a10bdb9d /notmuch-search.c
parent2b3e9ff467d99fe02852cfcc46181c4d29dea99b (diff)
Use notmuch_database_destroy instead of notmuch_database_close
Adapt the notmuch binaries source to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
Diffstat (limited to 'notmuch-search.c')
-rw-r--r--notmuch-search.c2
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;
}