summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-15 19:58:26 +0200
committerVolker Lendecke <vl@samba.org>2012-05-16 00:00:00 +0200
commit18e2e86c083fa1a24056e691a755bc45a35547d1 (patch)
treee50f72e70343877c9878ba187535ed409ed9c634 /nsswitch/libwbclient
parente5825ab22de75315e1af9cc58e79b9e2c3896226 (diff)
downloadsamba-18e2e86c083fa1a24056e691a755bc45a35547d1.tar.gz
samba-18e2e86c083fa1a24056e691a755bc45a35547d1.tar.bz2
samba-18e2e86c083fa1a24056e691a755bc45a35547d1.zip
libwbclient: Fix an invalid free()
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
Diffstat (limited to 'nsswitch/libwbclient')
-rw-r--r--nsswitch/libwbclient/wbc_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c
index 6df8a3c375..bab6933108 100644
--- 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;
}
}