]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib-storage: Recreate mail.event when active mail is changed
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Thu, 11 Mar 2021 12:14:53 +0000 (14:14 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Thu, 15 Apr 2021 07:06:27 +0000 (07:06 +0000)
commit5dd81f98a9462f3a7aee927acee839ba74637c72
tree050b23afe7a8c810c353021863399f42a9f00191
parent4d76fa500be66c0c073015cf9be6dc8f0c7ac001
lib-storage: Recreate mail.event when active mail is changed

This makes sure that the two mails' events are treated completely
independently without any accidental spilling. It also prevents wasting
memory if each mail changes the event and grows the memory pool.
src/lib-storage/index/index-mail.c