diff options
author | Greg Hudson <ghudson@mit.edu> | 2009-05-05 17:08:54 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2009-05-05 17:08:54 +0000 |
commit | 86389db40abdfb58b7986c83ceb32ca231ab4038 (patch) | |
tree | 2af95532f52cdf3759ddfadfa9919dc3a8b8b46c /src/lib/krb5/krb/preauth.c | |
parent | 4469180f0fb7a6990499ea7e0d632c3ff877cd9f (diff) | |
download | krb5-86389db40abdfb58b7986c83ceb32ca231ab4038.tar.gz krb5-86389db40abdfb58b7986c83ceb32ca231ab4038.tar.xz krb5-86389db40abdfb58b7986c83ceb32ca231ab4038.zip |
Fix a memory leak in krb5_obtain_padata
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22316 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/krb/preauth.c')
-rw-r--r-- | src/lib/krb5/krb/preauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c index 3a99c9dfad..1d2a3c4046 100644 --- a/src/lib/krb5/krb/preauth.c +++ b/src/lib/krb5/krb/preauth.c @@ -189,7 +189,7 @@ krb5_error_code krb5_obtain_padata(krb5_context context, krb5_pa_data **preauth_ * This will set the salt length */ if ((retval = krb5_principal2salt(context, request->client, &salt))) - return(retval); + goto cleanup; f_salt = 1; } |