Fix a memory leak by reorganizing krb5_principal_internalize to use
authorGreg Hudson <ghudson@mit.edu>
Fri, 1 May 2009 20:19:43 +0000 (20:19 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 1 May 2009 20:19:43 +0000 (20:19 +0000)
commit397c8078cdfaf400fb32e0b2f4098efad9566500
tree180670b7b3185a2256b48584d3e7e9c50d167353
parentfd4948f0e07fa73f364537773b7cbc3ecf2ac541
Fix a memory leak by reorganizing krb5_principal_internalize to use
the recommended flow control for error handling.  Also initialize the
output parameter so that it is set in case of error.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22302 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/ser_princ.c