From 18e2e86c083fa1a24056e691a755bc45a35547d1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 May 2012 19:58:26 +0200 Subject: libwbclient: Fix an invalid free() Autobuild-User: Volker Lendecke Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104 --- nsswitch/libwbclient/wbc_sid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nsswitch') 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; } } -- cgit