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 | 49865ea06c96b01a5e5dec84d64b78bf26129be3 (patch) | |
tree | f25a2c07a4e576defc502f2d041c44def66a1561 | |
parent | e9576124cbe8322ed7bee9f4e72b5d1753ee0bac (diff) | |
download | samba-49865ea06c96b01a5e5dec84d64b78bf26129be3.tar.gz samba-49865ea06c96b01a5e5dec84d64b78bf26129be3.tar.xz samba-49865ea06c96b01a5e5dec84d64b78bf26129be3.zip |
fixed a memory leak in nmblookup
-rw-r--r-- | source/utils/nmblookup.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/utils/nmblookup.c b/source/utils/nmblookup.c index 8e26a206ca2..546d2f0e15b 100644 --- a/source/utils/nmblookup.c +++ b/source/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); } |