1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

s3-libsmb: Fix a memory leak in get_pdc_ip().

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Andreas Schneider 2013-12-04 14:01:58 +01:00 committed by Michael Adam
parent 143907025b
commit 1461d873a4

View File

@ -2976,6 +2976,7 @@ bool get_pdc_ip(const char *domain, struct sockaddr_storage *pss)
&count,
lp_name_resolve_order());
if (!NT_STATUS_IS_OK(status)) {
SAFE_FREE(ip_list);
return false;
}
}