diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-25 00:46:46 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-25 00:46:46 +0000 |
commit | 59c8a608c2c6fa5fc1d342787cf28d5e00075664 (patch) | |
tree | 9dda6bfcf8cbc3d4ff4b1121e5afaf93d646c7bd /source3/utils | |
parent | 4a57f9763a7b8ab5114bbecf9e1096b66174137f (diff) | |
download | samba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.tar.gz samba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.tar.xz samba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.zip |
fixed a memory leak in nmblookup
(This used to be commit 49865ea06c96b01a5e5dec84d64b78bf26129be3)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/nmblookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c index 8e26a206ca2..546d2f0e15b 100644 --- a/source3/utils/nmblookup.c +++ b/source3/utils/nmblookup.c @@ -130,6 +130,8 @@ static BOOL query_one(char *lookup, unsigned int lookup_type) printf("\n"); } + safe_free(ip_list); + return (ip_list != NULL); } |