diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-26 13:43:55 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-06 12:51:01 +0100 |
commit | bc940ed4c8377c6af3f23a81d0e32a0c9114832d (patch) | |
tree | 8c05792d1d4d276c18dbc2458c787147b5748446 /source3 | |
parent | 4fd4303c644853946d6c84875dd55531c7e67f73 (diff) | |
download | samba-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.c | 4 |
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; } |