summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_rid.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_rid.c b/source3/winbindd/idmap_rid.c
index 359bbfd411..10cb98e690 100644
--- a/source3/winbindd/idmap_rid.c
+++ b/source3/winbindd/idmap_rid.c
@@ -48,7 +48,8 @@ static NTSTATUS idmap_rid_initialize(struct idmap_domain *dom,
gid_t low_gid = 0;
gid_t high_gid = 0;
- if ( (ctx = TALLOC_ZERO_P(dom, struct idmap_rid_context)) == NULL ) {
+ ctx = TALLOC_ZERO_P(dom, struct idmap_rid_context);
+ if (ctx == NULL) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;
}