svn rev #24985: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Jun 23 15:25:55 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=24985
Commit By: ghudson
Log Message:
Fix memory leak introduced in r24969.
The new context field plugin_base_dir wasn't being freed on context
deletion.
Changed Files:
U trunk/src/lib/krb5/krb/init_ctx.c
Modified: trunk/src/lib/krb5/krb/init_ctx.c
===================================================================
--- trunk/src/lib/krb5/krb/init_ctx.c 2011-06-23 19:25:51 UTC (rev 24984)
+++ trunk/src/lib/krb5/krb/init_ctx.c 2011-06-23 19:25:55 UTC (rev 24985)
@@ -291,6 +291,7 @@
#endif
k5_plugin_free_context(ctx);
+ free(ctx->plugin_base_dir);
ctx->magic = 0;
free(ctx);
More information about the cvs-krb5
mailing list