projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cadbdc
)
Free allocated serializers when releasing context
author
Paul Park
<pjpark@mit.edu>
Tue, 29 Aug 1995 18:37:15 +0000
(18:37 +0000)
committer
Paul Park
<pjpark@mit.edu>
Tue, 29 Aug 1995 18:37:15 +0000
(18:37 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6620
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/init_ctx.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/init_ctx.c
b/src/lib/krb5/krb/init_ctx.c
index c861bb1864d240c9193583dd7fb95543ee3911af..00bf2d528aab8559af56bfac8bf9e5d03d77effe 100644
(file)
--- a/
src/lib/krb5/krb/init_ctx.c
+++ b/
src/lib/krb5/krb/init_ctx.c
@@
-70,6
+70,9
@@
krb5_free_context(ctx)
if (ctx->default_realm)
free(ctx->default_realm);
+ if (ctx->ser_ctx_count && ctx->ser_ctx)
+ free(ctx->ser_ctx);
+
ctx->magic = 0;
free(ctx);
}