mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
Merge branch 'groovyfengx-master-patch-69245' into 'master'
Fixing memory leak in OpenID Connect auth module See merge request openconnect/ocserv!289
This commit is contained in:
@@ -596,6 +596,10 @@ static bool oidc_verify_signature(oidc_vctx_st * vctx, cjose_jws_t * jws)
|
||||
result = true;
|
||||
|
||||
cleanup:
|
||||
if (jwk) {
|
||||
cjose_jwk_release(jwk);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user