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:
parent
89bbc41d02
commit
ba537079cf
@ -672,9 +672,7 @@ wbcErr wbcListUsers(const char *domain_name,
|
||||
|
||||
done:
|
||||
winbindd_free_response(&response);
|
||||
if (users) {
|
||||
wbcFreeMemory(users);
|
||||
}
|
||||
wbcFreeMemory(users);
|
||||
return wbc_status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user