projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe15ff8
)
we can and should free creds.server
author
John Kohl
<jtkohl@mit.edu>
Wed, 20 Feb 1991 18:10:24 +0000
(18:10 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Wed, 20 Feb 1991 18:10:24 +0000
(18:10 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1742
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/mk_req.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/mk_req.c
b/src/lib/krb5/krb/mk_req.c
index 24e5bc78f76843e218a371bdf391c8441b7f5bf3..5fe7a12e8da90de972f746570ea59afd20d2af1a 100644
(file)
--- a/
src/lib/krb5/krb/mk_req.c
+++ b/
src/lib/krb5/krb/mk_req.c
@@
-79,8
+79,9
@@
krb5_data *outbuf;
&creds,
0, /* We don't need the authenticator */
outbuf);
- creds.server = 0; /* don't free it, someone else
- owns it. */
+ /* creds.server and the rest of the creds.* fields are filled in
+ by the ccache fetch or the kdc fetch, so we should allow it to be
+ freed */
krb5_free_cred_contents(&creds);
return retval;
}