From 0a9ceeacdd6e9b190b969e00dd676f43c87ef3b5 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 10 Nov 2008 17:18:56 +0000 Subject: [PATCH] In pa_sam(), free the outer krb5_data structure returned by encode_krb5_sam_response. ticket: 6211 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21063 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/preauth2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index 6a40839fd..bcb15d663 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -991,6 +991,8 @@ krb5_error_code pa_sam(krb5_context context, *out_padata = pa; + krb5_xfree(scratch); + return(0); } -- 2.26.2