mirror of
https://github.com/samba-team/samba.git
synced 2025-09-18 09:44:19 +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:
@@ -2854,6 +2854,7 @@ static void nwrap_he_unload(struct nwrap_cache *nwrap)
|
|||||||
|
|
||||||
nwrap_vector_foreach (ed, nwrap_he->entdata, i)
|
nwrap_vector_foreach (ed, nwrap_he->entdata, i)
|
||||||
{
|
{
|
||||||
|
SAFE_FREE(ed->nwrap_addrdata.items);
|
||||||
SAFE_FREE(ed->ht.h_aliases);
|
SAFE_FREE(ed->ht.h_aliases);
|
||||||
SAFE_FREE(ed);
|
SAFE_FREE(ed);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user