summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2001-09-17 03:44:52 +0000
committerSimo Sorce <idra@samba.org>2001-09-17 03:44:52 +0000
commitacc373297159d87849d5e4c48345723c44fc3e95 (patch)
treef8c43abec1186bea1dec8359eb5926df44642629 /source3
parent7f641b46763c2ea21f2bb04e3bc3ded49c5007b5 (diff)
downloadsamba-acc373297159d87849d5e4c48345723c44fc3e95.tar.gz
samba-acc373297159d87849d5e4c48345723c44fc3e95.tar.bz2
samba-acc373297159d87849d5e4c48345723c44fc3e95.zip
typo
(This used to be commit 23dc3fc7009ce40064db57d5ec8b720c7d9350a8)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/namequery.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 6fba488d66..b82e98b0fc 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -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;
}