git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89bbc41
)
libwbclient: wbcFreeMemory deals fine with a NULL pointer
author
Volker Lendecke
<vl@samba.org>
Mon, 19 Apr 2010 13:56:30 +0000
(15:56 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 19 Apr 2010 14:31:03 +0000
(16:31 +0200)
nsswitch/libwbclient/wbc_sid.c
patch
|
blob
|
history
diff --git
a/nsswitch/libwbclient/wbc_sid.c
b/nsswitch/libwbclient/wbc_sid.c
index 63d566fa9f9aee3d499de28ebfac66b1c26cf0b5..73bd4162472c1f3cfbfb1d29122807f8f24201ca 100644
(file)
--- a/
nsswitch/libwbclient/wbc_sid.c
+++ b/
nsswitch/libwbclient/wbc_sid.c
@@
-672,9
+672,7
@@
wbcErr wbcListUsers(const char *domain_name,
done:
winbindd_free_response(&response);
- if (users) {
- wbcFreeMemory(users);
- }
+ wbcFreeMemory(users);
return wbc_status;
}