diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 13:06:14 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-19 13:06:14 +0200 |
commit | f0c4829e827210e6f58885994e18f77f9afc3b8c (patch) | |
tree | e3dc275e48331b89add00fddeae2d89d1dc7b93d /source3/utils/nmblookup.c | |
parent | 58b4efc9b49c1cc366303a306639a3fc9321dcfe (diff) | |
download | samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.gz samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.tar.xz samba-f0c4829e827210e6f58885994e18f77f9afc3b8c.zip |
Remove silly safe_free() function which is a wrapper around SAFE_FREE().
Since it's a function it just sets the local pointer to NULL and basically
is an equivalent to free().
It also claims it's being used for callbacks but isn't used that way
anywhere.
Diffstat (limited to 'source3/utils/nmblookup.c')
-rw-r--r-- | source3/utils/nmblookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index c04b628b1b6..45da3f1e88f 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -219,7 +219,7 @@ static bool query_one(const char *lookup, unsigned int lookup_type) } } - safe_free(ip_list); + free(ip_list); return (ip_list != NULL); } |