summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-26 13:43:55 +0100
committerVolker Lendecke <vl@samba.org>2011-03-06 12:51:01 +0100
commitbc940ed4c8377c6af3f23a81d0e32a0c9114832d (patch)
tree8c05792d1d4d276c18dbc2458c787147b5748446 /source3
parent4fd4303c644853946d6c84875dd55531c7e67f73 (diff)
downloadsamba-bc940ed4c8377c6af3f23a81d0e32a0c9114832d.tar.gz
samba-bc940ed4c8377c6af3f23a81d0e32a0c9114832d.tar.bz2
samba-bc940ed4c8377c6af3f23a81d0e32a0c9114832d.zip
s3: Remove an unnecessary if-statement
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;
}