git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04af2ab
)
r13510: plug memory leak in WINS server code.
author
Gerald Carter
<jerry@samba.org>
Wed, 15 Feb 2006 18:22:00 +0000
(18:22 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:10:08 +0000
(11:10 -0500)
(This used to be commit
381c327a65489bf8b0fd4935662ca1df6f9e1183
)
source3/nmbd/nmbd_winsserver.c
patch
|
blob
|
history
diff --git
a/source3/nmbd/nmbd_winsserver.c
b/source3/nmbd/nmbd_winsserver.c
index 9983efe5ebb944c7e2b08b9d45f44bb343b077f2..ddc9edfb0606e131775891e4beee24faab398aae 100644
(file)
--- a/
source3/nmbd/nmbd_winsserver.c
+++ b/
source3/nmbd/nmbd_winsserver.c
@@
-207,6
+207,11
@@
struct name_record *find_name_on_wins_subnet(const struct nmb_name *nmbname, BOO
}
namerec = wins_record_to_name_record(key, data);
+
+ /* done with the this */
+
+ SAFE_FREE( data.dptr );
+
if (!namerec) {
return NULL;
}