summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_rid.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_rid.c b/source3/winbindd/idmap_rid.c
index ae54475dfd..cef0675282 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -184,9 +184,7 @@ static NTSTATUS idmap_rid_sids_to_unixids(struct idmap_domain *dom, struct id_ma
static NTSTATUS idmap_rid_close(struct idmap_domain *dom)
{
- if (dom->private_data) {
- TALLOC_FREE(dom->private_data);
- }
+ TALLOC_FREE(dom->private_data);
return NT_STATUS_OK;
}