summaryrefslogtreecommitdiffstats
path: root/src/ldb_modules/memberof.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-12-09 14:25:15 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-10 19:37:52 +0100
commitcecec6c15d51544a7365459d14ebf87200eaed54 (patch)
tree63b7d8e619ef9248e4ad2692d83a55cec8619fb3 /src/ldb_modules/memberof.c
parent097fc24412031eb5c2f0d5dd0286083ddc9355ab (diff)
downloadsssd-cecec6c15d51544a7365459d14ebf87200eaed54.tar.gz
sssd-cecec6c15d51544a7365459d14ebf87200eaed54.tar.xz
sssd-cecec6c15d51544a7365459d14ebf87200eaed54.zip
MEMBEROF: Fix copy-n-paste error
https://fedorahosted.org/sssd/ticket/1703
Diffstat (limited to 'src/ldb_modules/memberof.c')
-rw-r--r--src/ldb_modules/memberof.c2
1 files changed, 1 insertions, 1 deletions
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;