1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

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
This commit is contained in:
Volker Lendecke 2012-05-15 19:58:26 +02:00
parent e5825ab22d
commit 18e2e86c08

View File

@ -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;
}
}