1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

libwbclient: wbcFreeMemory deals fine with a NULL pointer

This commit is contained in:
Volker Lendecke 2010-04-19 15:56:30 +02:00
parent 89bbc41d02
commit ba537079cf

View File

@ -672,9 +672,7 @@ wbcErr wbcListUsers(const char *domain_name,
done:
winbindd_free_response(&response);
if (users) {
wbcFreeMemory(users);
}
wbcFreeMemory(users);
return wbc_status;
}