ctx->plugin_base_dir is freed in krb5_free_context, but not strduped by krb5_copy_context.

This results in double free when the original and cloned contexts are both freed.