From 8e4e5531c6a9543f601f56e1dfb7360a23af24e9 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Wed, 6 May 2009 18:54:47 +0000 Subject: [PATCH] Fix yet another memory leak in pa_sam git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22321 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/preauth2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index 5fb8adde2..f72ebf29c 100644 --- 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; } -- 2.26.2