>From 7c447ceda147512f5ad1a6a5f3babae7a91f0dab Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Sun, 9 Dec 2012 14:25:15 +0100 Subject: [PATCH] MEMBEROF: Fix cop-n-paste error https://fedorahosted.org/sssd/ticket/1703 --- src/ldb_modules/memberof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c index 3367bd754c2102dd44e33d2c912a41f389101017..9f67d8656db2459ecfe5626824223885fbcd0909 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; -- 1.8.0.1