projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963d72c
)
In krb5_get_in_tkt, free the whole encoded request (since the
author
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 16:30:19 +0000
(16:30 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Tue, 5 May 2009 16:30:19 +0000
(16:30 +0000)
structure was allocated by encode_krb5_as_req), not just the contents.
ticket: 6401
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22310
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/get_in_tkt.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/get_in_tkt.c
b/src/lib/krb5/krb/get_in_tkt.c
index 5acc19aa569c60887c28f27688146a54a3e7bada..018676dbee8d80f194015ac99f072e2951d6d3c6 100644
(file)
--- a/
src/lib/krb5/krb/get_in_tkt.c
+++ b/
src/lib/krb5/krb/get_in_tkt.c
@@
-649,7
+649,7
@@
krb5_get_in_tkt(krb5_context context,
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;