diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ldb_modules/memberof.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c index ba715ebeb..89b42cb7f 100644 --- a/src/ldb_modules/memberof.c +++ b/src/ldb_modules/memberof.c @@ -3014,7 +3014,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; |