From: Greg Hudson Date: Mon, 10 Nov 2008 17:18:56 +0000 (+0000) Subject: In pa_sam(), free the outer krb5_data structure returned by X-Git-Tag: krb5-1.7-alpha1~214 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0a9ceeacdd6e9b190b969e00dd676f43c87ef3b5;p=krb5.git 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 --- 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); }