Mercurial > dovecot > core-2.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
15271:0f16da39121a | 15272:ca10d2e8d8e3 |
---|---|
120 { | 120 { |
121 struct dbox_storage *storage = (struct dbox_storage *)_storage; | 121 struct dbox_storage *storage = (struct dbox_storage *)_storage; |
122 | 122 |
123 if (storage->attachment_fs != NULL) | 123 if (storage->attachment_fs != NULL) |
124 fs_deinit(&storage->attachment_fs); | 124 fs_deinit(&storage->attachment_fs); |
125 index_storage_destroy(_storage); | |
125 } | 126 } |
126 | 127 |
127 uint32_t dbox_get_uidvalidity_next(struct mailbox_list *list) | 128 uint32_t dbox_get_uidvalidity_next(struct mailbox_list *list) |
128 { | 129 { |
129 const char *path; | 130 const char *path; |