summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-06-09 12:35:06 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-09 08:29:48 -0400
commit340bef0ea2f1561881d811598f42564d125a2d5c (patch)
treea291549653c6bb1c81d3ed791acb90445d15a866
parent719f7be6150e5d37f644e61afac7e2af30955359 (diff)
downloadsssd-340bef0ea2f1561881d811598f42564d125a2d5c.tar.gz
sssd-340bef0ea2f1561881d811598f42564d125a2d5c.tar.xz
sssd-340bef0ea2f1561881d811598f42564d125a2d5c.zip
Add a missing initializer
-rw-r--r--src/providers/krb5/krb5_child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index fea1e5660..18b7a220a 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -421,7 +421,7 @@ static krb5_error_code validate_tgt(struct krb5_req *kr)
{
krb5_error_code kerr;
krb5_error_code kt_err;
- char *principal;
+ char *principal = NULL;
krb5_keytab keytab;
krb5_kt_cursor cursor;
krb5_keytab_entry entry;