summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-01-11 17:14:19 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-12 08:10:27 -0500
commit71585aa7e7cfb414530dc41783669a1566099890 (patch)
treeac8809ffd1168f15c756735a72a683a9bfb5216e
parent830380e05ffc2fcc085fd6894f315073fd2f4cb7 (diff)
downloadsssd-71585aa7e7cfb414530dc41783669a1566099890.tar.gz
sssd-71585aa7e7cfb414530dc41783669a1566099890.tar.bz2
sssd-71585aa7e7cfb414530dc41783669a1566099890.zip
Fix #382, a segfault bug in the memberof plugin.
-rw-r--r--server/ldb_modules/memberof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/ldb_modules/memberof.c b/server/ldb_modules/memberof.c
index a25a3509..b8ab1bc9 100644
--- a/server/ldb_modules/memberof.c
+++ b/server/ldb_modules/memberof.c
@@ -734,7 +734,7 @@ static int mbof_add_operation(struct mbof_add_operation *addop)
return mbof_next_add(addop->next);
}
else if (add_ctx->muops) {
- ret = mbof_add_muop(add_ctx);
+ return mbof_add_muop(add_ctx);
}
else {
/* that was the last entry, get out */