Mercurial > dovecot > core-2.2
changeset 19975:ed5df0ed7aa1
lib-storage: Fixed memory leak when iterating attributes.
author | Timo Sirainen <timo.sirainen@dovecot.fi> |
---|---|
date | Wed, 30 Mar 2016 10:51:50 +0300 |
parents | 1961d9555bdd |
children | 84e02d84d99c |
files | src/lib-storage/mailbox-attribute.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib-storage/mailbox-attribute.c Wed Mar 30 10:34:06 2016 +0300 +++ b/src/lib-storage/mailbox-attribute.c Wed Mar 30 10:51:50 2016 +0300 @@ -447,6 +447,7 @@ /* wrapped */ intiter = (struct mailbox_attribute_internal_iter *)iter; ret = intiter->real_iter->box->v.attribute_iter_deinit(intiter->real_iter); + array_free(&intiter->extra_attrs); i_free(intiter); return ret; }