1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

nwrap: Fix memory leak in nwrap_he_unload()

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Robin Hack 2015-10-08 15:00:33 +02:00 committed by Michael Adam
parent 3cae3e55e7
commit 853b2ff08e

View File

@ -2854,6 +2854,7 @@ static void nwrap_he_unload(struct nwrap_cache *nwrap)
nwrap_vector_foreach (ed, nwrap_he->entdata, i)
{
SAFE_FREE(ed->nwrap_addrdata.items);
SAFE_FREE(ed->ht.h_aliases);
SAFE_FREE(ed);
}