From f9039fca7eaf4e14ab4b8bf0242203a921c82a9a Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 9 Dec 2012 14:25:15 +0100 Subject: MEMBEROF: Fix copy-n-paste error https://fedorahosted.org/sssd/ticket/1703 --- src/ldb_modules/memberof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldb_modules') 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; -- cgit