projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
929bdfc
)
Fix memory leak introduced in r24969
author
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Jun 2011 19:25:55 +0000
(19:25 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Thu, 23 Jun 2011 19:25:55 +0000
(19:25 +0000)
The new context field plugin_base_dir wasn't being freed on context
deletion.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24985
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 657b2dbb3135d79494d5c02c21fd8dd01dcba938..c5bac1330a918cd61da2713a45006ef95d63b225 100644
(file)
--- a/
src/lib/krb5/krb/init_ctx.c
+++ b/
src/lib/krb5/krb/init_ctx.c
@@
-291,6
+291,7
@@
krb5_free_context(krb5_context ctx)
#endif
k5_plugin_free_context(ctx);
+ free(ctx->plugin_base_dir);
ctx->magic = 0;
free(ctx);