summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-25 00:46:46 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-25 00:46:46 +0000
commit59c8a608c2c6fa5fc1d342787cf28d5e00075664 (patch)
tree9dda6bfcf8cbc3d4ff4b1121e5afaf93d646c7bd /source3
parent4a57f9763a7b8ab5114bbecf9e1096b66174137f (diff)
downloadsamba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.tar.gz
samba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.tar.bz2
samba-59c8a608c2c6fa5fc1d342787cf28d5e00075664.zip
fixed a memory leak in nmblookup
(This used to be commit 49865ea06c96b01a5e5dec84d64b78bf26129be3)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/nmblookup.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 8e26a206ca..546d2f0e15 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);
}