projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fefcbb9
)
Fix memory leak
author
Paul Park
<pjpark@mit.edu>
Wed, 9 Aug 1995 21:26:24 +0000
(21:26 +0000)
committer
Paul Park
<pjpark@mit.edu>
Wed, 9 Aug 1995 21:26:24 +0000
(21:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6489
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kadmin/v5server/proto_serv.c
patch
|
blob
|
history
diff --git
a/src/kadmin/v5server/proto_serv.c
b/src/kadmin/v5server/proto_serv.c
index fe906c4fff1052e745fc9e1f9071aecf744c316b..b8713be397690c96e89820b9ade177add5583774 100644
(file)
--- a/
src/kadmin/v5server/proto_serv.c
+++ b/
src/kadmin/v5server/proto_serv.c
@@
-805,12
+805,12
@@
proto_serv(kcontext, my_id, cl_sock, sv_p, cl_p)
alarm(0);
if (ticket)
krb5_free_ticket(kcontext, ticket);
- if (rcache) {
- krb5_rc_close(kcontext, rcache);
- /* krb5_rc_destroy(kcontext, rcache); */
- }
+ /*
+ * Don't need to close the replay cache because it's attached to the
+ * auth context.
+ */
if (auth_context)
- krb5_
xfree(
auth_context);
+ krb5_
auth_con_free(kcontext,
auth_context);
if (curr_lang)
free(curr_lang);
if (num_args)