From edde57b34d8093c4decbbf34edd3068bf09d2211 Mon Sep 17 00:00:00 2001
From: Jan Zeleny <jzeleny@redhat.com>
Date: Mon, 16 May 2011 03:15:46 -0400
Subject: [PATCH] Fixed uninitialized value in sss_cache

https://fedorahosted.org/sssd/ticket/865
---
 src/tools/sss_cache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/tools/sss_cache.c b/src/tools/sss_cache.c
index 9eefca45a89369b937446523e84468ed4826b865..0b086523f9adb6cc0a91bdd5d751f22aa185b73f 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;
 }
-- 
1.7.4.1

