projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
662f76b
)
Fix yet another memory leak in pa_sam
author
Greg Hudson
<ghudson@mit.edu>
Wed, 6 May 2009 18:54:47 +0000
(18:54 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Wed, 6 May 2009 18:54:47 +0000
(18:54 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22321
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/preauth2.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/preauth2.c
b/src/lib/krb5/krb/preauth2.c
index 5fb8adde2a35fee4f0ce3128799abcdb7e725395..f72ebf29cdfdaf8a93db6a318a41341140a5c16d 100644
(file)
--- a/
src/lib/krb5/krb/preauth2.c
+++ b/
src/lib/krb5/krb/preauth2.c
@@
-1016,6
+1016,7
@@
krb5_error_code pa_sam(krb5_context context,
} else {
/* Eventually, combine SAD with long-term key to get
encryption key. */
+ krb5_free_sam_challenge(context, sam_challenge);
return KRB5_PREAUTH_BAD_TYPE;
}