Fix leak on GSS module symbol resolution error If krb5int_get_plugin_func fails, errinfo may contain an allocated error message. Free it on error when loading GSS modules. [ghudson@mit.edu: also fix GSS_ADD_DYNAMIC_METHOD; clarify commit message] (cherry picked from commit 53362ba69fb5a60386dd358c3450bfcf4f6b7346) https://github.com/krb5/krb5/commit/f7a9d09b097bcc1f890e0f9a55f9cf812b29226d Author: Simo Sorce Committer: Tom Yu Commit: f7a9d09b097bcc1f890e0f9a55f9cf812b29226d Branch: krb5-1.12 src/lib/gssapi/mechglue/g_initialize.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)