git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fd4303
)
s3: Remove an unnecessary if-statement
author
Volker Lendecke
<vl@samba.org>
Sat, 26 Feb 2011 12:43:55 +0000
(13:43 +0100)
committer
Volker Lendecke
<vl@samba.org>
Sun, 6 Mar 2011 11:51:01 +0000
(12:51 +0100)
source3/winbindd/idmap_rid.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_rid.c
b/source3/winbindd/idmap_rid.c
index ae54475dfd04b5955f863a3e6ddf2fed862e217b..cef06752821825eab25c911c39f801e5268176cd 100644
(file)
--- 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;
}