summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-01-11 17:14:19 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-14 09:09:44 -0500
commita3292cb6f06ac6ba9a9bdeb9a080751b3635a3ec (patch)
tree1c720e9d47dd8eb115ccadb022d64d4201b27928
parent9825054362a6ca3ad6ea851236ba9c1b3a703aba (diff)
downloadsssd-a3292cb6f06ac6ba9a9bdeb9a080751b3635a3ec.tar.gz
sssd-a3292cb6f06ac6ba9a9bdeb9a080751b3635a3ec.tar.xz
sssd-a3292cb6f06ac6ba9a9bdeb9a080751b3635a3ec.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 a25a35098..b8ab1bc98 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 */