summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-11-17 12:54:42 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-11-18 08:34:55 -0500
commitc7bca19b94bd48d0088e5a8002946b345b6adcc1 (patch)
tree347c41310ca13214784408a558e8cec0f5981278
parent2c59666e045b5edc1fa15049724eb20bd3a7e04a (diff)
downloadsssd-c7bca19b94bd48d0088e5a8002946b345b6adcc1.tar.gz
sssd-c7bca19b94bd48d0088e5a8002946b345b6adcc1.tar.xz
sssd-c7bca19b94bd48d0088e5a8002946b345b6adcc1.zip
Add missing error code
-rw-r--r--src/util/sss_krb5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util/sss_krb5.c b/src/util/sss_krb5.c
index 5cf91f174..7fad32e85 100644
--- a/src/util/sss_krb5.c
+++ b/src/util/sss_krb5.c
@@ -295,6 +295,7 @@ krb5_error_code check_for_valid_tgt(const char *ccname, const char *realm,
server_name = talloc_asprintf(tmp_ctx, "krbtgt/%s@%s", realm, realm);
if (server_name == NULL) {
DEBUG(1, ("talloc_asprintf failed.\n"));
+ krberr = ENOMEM;
goto done;
}