]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lib: data-stack - Don't keep largest unused block in memory
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 16 Nov 2020 22:32:45 +0000 (00:32 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 4 May 2021 07:02:35 +0000 (07:02 +0000)
commit2da21080dbbe50b4924ac0135c84babfb404dcce
tree83fe4860ebb5c69a628861b0e028f260e33e77d8
parent59ff832bd1afbd08fd686704c5afd0c4abdab1e5
lib: data-stack - Don't keep largest unused block in memory

It's not that expensive to allocate it again, but it might be expensive to
keep allocated a block that became huge due to a bug. The huge block could
be just wasting memory without ever being used again.
src/lib/data-stack.c