From: Paul Park Date: Tue, 29 Aug 1995 18:37:15 +0000 (+0000) Subject: Free allocated serializers when releasing context X-Git-Tag: krb5-1.0-beta6~1236 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f76eb8d34401fb9554b0fb88f187c91d695ef549;p=krb5.git Free allocated serializers when releasing context git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6620 dc483132-0cff-0310-8789-dd5450dbe970 --- 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); }