diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-19 15:56:30 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-19 16:31:03 +0200 |
commit | ba537079cff577237b7df50ab15fabb5b0086166 (patch) | |
tree | 3be94446d07e8cca060a896f95ba11070f8968a2 /nsswitch | |
parent | 89bbc41d029e2327a9b9a3408c7552ce3e75e855 (diff) | |
download | samba-ba537079cff577237b7df50ab15fabb5b0086166.tar.gz samba-ba537079cff577237b7df50ab15fabb5b0086166.tar.bz2 samba-ba537079cff577237b7df50ab15fabb5b0086166.zip |
libwbclient: wbcFreeMemory deals fine with a NULL pointer
Diffstat (limited to 'nsswitch')
-rw-r--r-- | nsswitch/libwbclient/wbc_sid.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nsswitch/libwbclient/wbc_sid.c b/nsswitch/libwbclient/wbc_sid.c index 63d566fa9f..73bd416247 100644 --- 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; } |