From cecec6c15d51544a7365459d14ebf87200eaed54 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/memberof.c') diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c index 3367bd754..9f67d8656 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; -- cgit