In ktfile_common_resolve, set the output pointer to NULL on error, and
authorGreg Hudson <ghudson@mit.edu>
Thu, 30 Apr 2009 17:28:55 +0000 (17:28 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 30 Apr 2009 17:28:55 +0000 (17:28 +0000)
commita4cef664aad9b21da014bc37308f3da3bf18e675
treeed1bc54fe553eea381c1237d7a975913622c20d7
parent3794fb8ccd011e91fd8f214547780fdd58df39a4
In ktfile_common_resolve, set the output pointer to NULL on error, and
use a cleanup label instead of freeing the same resources in multiple
error handling blocks.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22296 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/keytab/kt_file.c