Skip to content
Snippets Groups Projects
Commit ddd1a736 authored by Peter Ganten's avatar Peter Ganten Committed by Alexandre Julliard
Browse files

Fixed a file descriptor leak in the PE loader.

parent 69d39ab0
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment