mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 21:50:00 +00:00
Fixed a file descriptor leak in the PE loader.
This commit is contained in:
parent
69d39ab023
commit
ddd1a73675
|
@ -713,6 +713,7 @@ HMODULE PE_LoadImage( HANDLE hFile, LPCSTR filename )
|
|||
|
||||
/* We don't need the orignal mapping any more */
|
||||
UnmapViewOfFile( (LPVOID)hModule );
|
||||
close( unix_handle );
|
||||
return (HMODULE)load_addr;
|
||||
|
||||
error:
|
||||
|
|
Loading…
Reference in a new issue