summaryrefslogtreecommitdiff
path: root/nsswitch
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
parente5825ab22de75315e1af9cc58e79b9e2c3896226 (diff)
downloadsamba-18e2e86c083fa1a24056e691a755bc45a35547d1.tar.gz
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')
-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 6df8a3c375f..bab69331087 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;
}
}