Use notmuch_database_destroy instead of notmuch_database_close

Adapt notmuch-deliver to the notmuch_database_close split.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
This commit is contained in:
Justus Winter 2012-04-22 14:07:54 +02:00 committed by David Bremner
parent 6f7469f547
commit 37e293eb5f

View file

@ -455,7 +455,7 @@ main(int argc, char **argv)
g_strfreev(opt_rtags); g_strfreev(opt_rtags);
g_free(mail); g_free(mail);
notmuch_database_close(db); notmuch_database_destroy(db);
return 0; return 0;
} }