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:
e5825ab
)
libwbclient: Fix an invalid free()
author
Volker Lendecke
<vl@samba.org>
Tue, 15 May 2012 17:58:26 +0000
(19:58 +0200)
committer
Volker Lendecke
<vl@samba.org>
Tue, 15 May 2012 22:00:00 +0000
(
00:00
+0200)
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_sid.c
b/nsswitch/libwbclient/wbc_sid.c
index 6df8a3c375f328e5b190a0bbc9544b70f8e72437..bab69331087904656bb5dd2f6849b8c74a3eb37c 100644
(file)
--- a/
nsswitch/libwbclient/wbc_sid.c
+++ b/
nsswitch/libwbclient/wbc_sid.c
@@
-295,7
+295,7
@@
static void wbcTranslatedNamesDestructor(void *ptr)
struct wbcTranslatedName *n = (struct wbcTranslatedName *)ptr;
while (n->name != NULL) {
-
free
(n->name);
+
wbcFreeMemory
(n->name);
n += 1;
}
}