summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-12-09 14:25:15 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-12-14 17:45:18 +0100
commitf9039fca7eaf4e14ab4b8bf0242203a921c82a9a (patch)
tree082e34708568d29db78ce6eb5a223424c765559c /src
parent6c6536a165d3e476e6450dcdd6bfbae4fd7bc371 (diff)
downloadsssd-f9039fca7eaf4e14ab4b8bf0242203a921c82a9a.tar.gz
sssd-f9039fca7eaf4e14ab4b8bf0242203a921c82a9a.tar.xz
sssd-f9039fca7eaf4e14ab4b8bf0242203a921c82a9a.zip
MEMBEROF: Fix copy-n-paste error
https://fedorahosted.org/sssd/ticket/1703
Diffstat (limited to 'src')
-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;