From 56ccddbf6b3141761173f0f1bd4dace28509eb39 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Thu, 23 Jun 2011 19:25:55 +0000 Subject: [PATCH] Fix memory leak introduced in r24969 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 | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index 657b2dbb3..c5bac1330 100644 --- 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); -- 2.26.2