diff options
Diffstat (limited to 'src/ldb_modules')
-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 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; |