Call krb5_clear_error_message() to free any allocated error message
before freeing the context.
The condition that triggered this was a plugin library which fails to
load because of unresolved references. It appears dlopen() on Linux
leaks four bytes for each failing library in this situation.
ticket: new
Target_Version: 1.6
Tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18858
dc483132-0cff-0310-8789-
dd5450dbe970
ctx->ser_ctx = 0;
}
+ krb5_clear_error_message(ctx);
+
ctx->magic = 0;
free(ctx);
}