projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4469180
)
Fix a memory leak in krb5_obtain_padata
author
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 17:08:54 +0000
(17:08 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 17:08:54 +0000
(17:08 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22316
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/preauth.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/preauth.c
b/src/lib/krb5/krb/preauth.c
index 3a99c9dfaddfc7228f004495f3e040a555e11345..1d2a3c4046fc3041b374cc13dab70a24ceb724c3 100644
(file)
--- 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;
}