In pa_sam(), free the outer krb5_data structure returned by
authorGreg Hudson <ghudson@mit.edu>
Mon, 10 Nov 2008 17:18:56 +0000 (17:18 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 10 Nov 2008 17:18:56 +0000 (17:18 +0000)
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

index 6a40839fd0ceb4142b4d5c5d6b5de52a04e27e22..bcb15d6632c763bb75eb12cfbfcb28e9f3b8c5ff 100644 (file)
@@ -991,6 +991,8 @@ krb5_error_code pa_sam(krb5_context context,
 
     *out_padata = pa;
 
+    krb5_xfree(scratch);
+
     return(0);
 }