summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ldb_modules/memberof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c
index 3367bd75..9f67d865 100644
--- a/src/ldb_modules/memberof.c
+++ b/src/ldb_modules/memberof.c
@@ -3010,7 +3010,7 @@ static int mbof_collect_child_ghosts(struct mbof_mod_ctx *mod_ctx)
}
mod_ctx->igh = talloc_zero(mod_ctx, struct mbof_mod_del_op);
- if (mod_ctx == NULL) {
+ if (mod_ctx->igh == NULL) {
return LDB_ERR_OPERATIONS_ERROR;
}
mod_ctx->igh->mod_ctx = mod_ctx;