From: Michael Stopa <michael.stopa@tensorworks.com.au> `find_cached_revocation_status` has only been closing file handles in failure cases. This causes a leak of stdio stream handles. --- dlls/cryptnet/cryptnet_main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/cryptnet/cryptnet_main.c b/dlls/cryptnet/cryptnet_main.c index 315432aa108..4432f38e5b8 100644 --- a/dlls/cryptnet/cryptnet_main.c +++ b/dlls/cryptnet/cryptnet_main.c @@ -1641,6 +1641,7 @@ static BOOL find_cached_revocation_status(const CERT_CONTEXT *cert, const CERT_R } TRACE("Using cached status %#lx, reason %#lx.\n", status->dwError, status->dwReason); + fclose(file); return TRUE; } -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9894