summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-02-20 18:10:24 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-02-20 18:10:24 +0000
commit98601c21aae80dddec7b3b743a6a1c257533291b (patch)
tree30441724066429842ab7ae7a8c49f0fe9b3a95d7 /src/lib
parentfe15ff88488bf0bf7776df6bdbdf4aafa30fd8b3 (diff)
we can and should free creds.server
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1742 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/mk_req.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/mk_req.c b/src/lib/krb5/krb/mk_req.c
index 24e5bc78f..5fe7a12e8 100644
--- 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;
}