diff --git a/src/mechglue/gss_plugin.c b/src/mechglue/gss_plugin.c index 0e423dd44..4e2bc8fb7 100644 --- a/src/mechglue/gss_plugin.c +++ b/src/mechglue/gss_plugin.c @@ -525,6 +525,7 @@ uint32_t gpp_remote_to_local_ctx(uint32_t *minor, gssx_ctx **remote_ctx, free(mech.elements); (void)gss_release_buffer(&min, &wrap_token); xdr_free((xdrproc_t)xdr_gssx_ctx, (char *)(*remote_ctx)); + free(*remote_ctx); *remote_ctx = NULL; return maj; }