git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e957612
)
fixed a memory leak in nmblookup
author
Andrew Tridgell
<tridge@samba.org>
Tue, 25 Apr 2000 00:46:46 +0000
(
00:46
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Tue, 25 Apr 2000 00:46:46 +0000
(
00:46
+0000)
source/utils/nmblookup.c
patch
|
blob
|
history
diff --git
a/source/utils/nmblookup.c
b/source/utils/nmblookup.c
index 8e26a206ca26ea188c4792f7eea27945e04a8bc3..546d2f0e15b3cd839c26374b22c7ffec2dfcc1d4 100644
(file)
--- 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);
}