From f76eb8d34401fb9554b0fb88f187c91d695ef549 Mon Sep 17 00:00:00 2001 From: Paul Park Date: Tue, 29 Aug 1995 18:37:15 +0000 Subject: [PATCH] Free allocated serializers when releasing context git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6620 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/init_ctx.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index c861bb186..00bf2d528 100644 --- 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); } -- 2.26.2