summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2011-05-16 03:15:46 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-05-16 08:05:34 -0400
commitd35c8317ed23aff66fde8147bfa2ea91f43a12e4 (patch)
tree07b41e819131c07c753171c960543cdf7cbcb06d
parent13521d724231f12924dd996d81c157f328ceca17 (diff)
downloadsssd-d35c8317ed23aff66fde8147bfa2ea91f43a12e4.tar.gz
sssd-d35c8317ed23aff66fde8147bfa2ea91f43a12e4.tar.xz
sssd-d35c8317ed23aff66fde8147bfa2ea91f43a12e4.zip
Fixed uninitialized value in sss_cache
https://fedorahosted.org/sssd/ticket/865
-rw-r--r--src/tools/sss_cache.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index 9eefca45a..0b086523f 100644
--- a/src/tools/sss_cache.c
+++ b/src/tools/sss_cache.c
@@ -180,6 +180,7 @@ errno_t invalidate_entry(TALLOC_CTX *ctx, struct sysdb_ctx *sysdb,
talloc_zfree(sys_attrs);
} else {
DEBUG(3, ("Could not create sysdb attributes\n"));
+ ret = ENOMEM;
}
return ret;
}