Mercurial > dovecot > core-2.2
comparison 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 |
comparison
equal
deleted
inserted
replaced
15271:0f16da39121a | 15272:ca10d2e8d8e3 |
---|---|
593 if (mstorage->pop3_box != NULL) | 593 if (mstorage->pop3_box != NULL) |
594 mailbox_free(&mstorage->pop3_box); | 594 mailbox_free(&mstorage->pop3_box); |
595 if (array_is_created(&mstorage->pop3_uidl_map)) | 595 if (array_is_created(&mstorage->pop3_uidl_map)) |
596 array_free(&mstorage->pop3_uidl_map); | 596 array_free(&mstorage->pop3_uidl_map); |
597 | 597 |
598 if (mstorage->module_ctx.super.destroy != NULL) | 598 mstorage->module_ctx.super.destroy(storage); |
599 mstorage->module_ctx.super.destroy(storage); | |
600 } | 599 } |
601 | 600 |
602 static void pop3_migration_mail_storage_created(struct mail_storage *storage) | 601 static void pop3_migration_mail_storage_created(struct mail_storage *storage) |
603 { | 602 { |
604 struct pop3_migration_mail_storage *mstorage; | 603 struct pop3_migration_mail_storage *mstorage; |