1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
This commit is contained in:
Simo Sorce 2001-09-17 03:44:52 +00:00
parent 7f641b4676
commit acc3732971

View File

@ -869,10 +869,7 @@ static BOOL internal_resolve_name(const char *name, int name_type,
}
}
if((*return_iplist) != NULL) {
SAFE_FREE(*return_iplist);
*return_iplist = NULL;
}
SAFE_FREE(*return_iplist);
return False;
}
@ -959,7 +956,7 @@ BOOL find_master_ip(char *group, struct in_addr *master_ip)
}
if(internal_resolve_name(group, 0x1B, &ip_list, &count)) {
*master_ip = ip_list[0];
SAFE_FREE((ip_list);
SAFE_FREE(ip_list);
return True;
}