Add a missing fclose in jitutils MethodSet constructor (#50282)
authorOmair Majid <omajid@redhat.com>
Sat, 3 Apr 2021 00:49:51 +0000 (20:49 -0400)
committerGitHub <noreply@github.com>
Sat, 3 Apr 2021 00:49:51 +0000 (17:49 -0700)
commitbb2388c15bd98355b0076bf995e905530fa85215
tree7ffe6b59c259355758bd8738baa8e634fb240f4a
parent5265305d3121d2fce804948b9250b1b3a5f8a22d
Add a missing fclose in jitutils MethodSet constructor (#50282)

The file methodSetFile is never used outside of the constructor, but the
file is never closed, leaking a resource handle. Lets close it manually.
src/coreclr/jit/utils.cpp