summaryrefslogtreecommitdiffstats
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:38:26 +0100
commit5392a6b79416033a752760ad7b49840ddf7a87fc (patch)
treefb8200d4dc46ee9583fd50253cd6764c1da66b11
parent41b0b7df726117458390eef5f36430ad98d591e4 (diff)
downloadsssd-5392a6b79416033a752760ad7b49840ddf7a87fc.tar.gz
sssd-5392a6b79416033a752760ad7b49840ddf7a87fc.tar.xz
sssd-5392a6b79416033a752760ad7b49840ddf7a87fc.zip
MEMBEROF: Fix copy-n-paste error
https://fedorahosted.org/sssd/ticket/1703
-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 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;