Mercurial > dovecot > core-2.2
diff src/plugins/pop3-migration/pop3-migration-plugin.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 | 73916b7be94e |
children | b52f4852e5f8 |
line wrap: on
line diff
--- a/src/plugins/pop3-migration/pop3-migration-plugin.c Mon Oct 29 14:31:04 2012 +0200 +++ b/src/plugins/pop3-migration/pop3-migration-plugin.c Mon Oct 29 14:50:11 2012 +0200 @@ -595,8 +595,7 @@ if (array_is_created(&mstorage->pop3_uidl_map)) array_free(&mstorage->pop3_uidl_map); - if (mstorage->module_ctx.super.destroy != NULL) - mstorage->module_ctx.super.destroy(storage); + mstorage->module_ctx.super.destroy(storage); } static void pop3_migration_mail_storage_created(struct mail_storage *storage)