avoid leaking padata.
ticket: 1206
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14910
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-05 Tom Yu <tlyu@mit.edu>
+
+ * do_as_req.c (process_as_req): Apply fix from Kevin Coffman to
+ avoid leaking padata.
+
2002-09-26 Ken Raeburn <raeburn@mit.edu>
* network.c (struct connection): New field start_time.
status);
}
- krb5_free_keyblock_contents(kdc_context, &encrypting_key);
+ if (encrypting_key.contents)
+ krb5_free_keyblock_contents(kdc_context, &encrypting_key);
+ if (reply.padata)
+ krb5_free_pa_data(kdc_context, reply.padata);
if (cname)
free(cname);