]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: pool_alloconly_destroy() optimization - Don't clear the last block before free
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 23 Nov 2021 14:00:02 +0000 (15:00 +0100)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Mon, 20 Dec 2021 20:51:32 +0000 (20:51 +0000)
commit4a74574d3934bf6120d9ca9479cb4275998b365c
tree8abdd097be4e89a2bda981998a413cb5a7d7788d
parent40666e3bca3861d800a2be9e4270251b82fc1fae
lib: pool_alloconly_destroy() optimization - Don't clear the last block before free

The block is going to be freed, so there's no need to clear it.
(The clearing still happens if clean_frees=TRUE.)
src/lib/mempool-alloconly.c