svn rev #22310: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Tue May 5 12:30:19 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22310
Commit By: ghudson
Log Message:
ticket: 6401
In krb5_get_in_tkt, free the whole encoded request (since the
structure was allocated by encode_krb5_as_req), not just the contents.
Changed Files:
U trunk/src/lib/krb5/krb/get_in_tkt.c
Modified: trunk/src/lib/krb5/krb/get_in_tkt.c
===================================================================
--- trunk/src/lib/krb5/krb/get_in_tkt.c 2009-05-05 16:00:40 UTC (rev 22309)
+++ trunk/src/lib/krb5/krb/get_in_tkt.c 2009-05-05 16:30:19 UTC (rev 22310)
@@ -649,7 +649,7 @@
retval = send_as_request(context, encoded_request,
krb5_princ_realm(context, request.client), &err_reply,
&as_reply, &use_master);
- krb5_free_data_contents(context, encoded_request);
+ krb5_free_data(context, encoded_request);
if (retval != 0)
goto cleanup;
More information about the cvs-krb5
mailing list