Mercurial > dovecot > core-2.2
diff src/lib-storage/index/dbox-common/dbox-storage.c @ 15272:ca10d2e8d8e3
lib-storage: Moved mail attribute dict to struct mail_storage.
This also means that index_storage_destroy() must always be called, so
removed now unnecessary mail_storage.destroy=NULL checks.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 29 Oct 2012 14:50:11 +0200 |
parents | ce57bacc3010 |
children | 1b46c1bf9d1e |
line wrap: on
line diff
--- a/src/lib-storage/index/dbox-common/dbox-storage.c Mon Oct 29 14:31:04 2012 +0200 +++ b/src/lib-storage/index/dbox-common/dbox-storage.c Mon Oct 29 14:50:11 2012 +0200 @@ -122,6 +122,7 @@ if (storage->attachment_fs != NULL) fs_deinit(&storage->attachment_fs); + index_storage_destroy(_storage); } uint32_t dbox_get_uidvalidity_next(struct mailbox_list *list)