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:
parent
3cae3e55e7
commit
853b2ff08e
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user