summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nsswitch/libwbclient/wbc_sid.c4
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;
}