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:
parent
e5825ab22d
commit
18e2e86c08
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user