aboutsummaryrefslogtreecommitdiffhomepage
path: root/notmuch-show.c
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2012-04-22 14:07:53 +0200
committerDavid Bremner <bremner@debian.org>2012-04-28 09:27:33 -0300
commit6f7469f54744656f90ce215f365d5731e16acd3c (patch)
treef2a4e5007173520921d7d5ba99743978a10bdb9d /notmuch-show.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-show.c')
-rw-r--r--notmuch-show.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notmuch-show.c b/notmuch-show.c
index da4a797f..3b6667c4 100644
--- a/notmuch-show.c
+++ b/notmuch-show.c
@@ -1117,7 +1117,7 @@ notmuch_show_command (void *ctx, unused (int argc), unused (char *argv[]))
}
notmuch_query_destroy (query);
- notmuch_database_close (notmuch);
+ notmuch_database_destroy (notmuch);
if (params.cryptoctx)
g_object_unref(params.cryptoctx);