From ddd1a73675c573933d3214b17ce07eef27267e75 Mon Sep 17 00:00:00 2001 From: Peter Ganten Date: Sat, 15 Jul 2000 19:44:29 +0000 Subject: [PATCH] Fixed a file descriptor leak in the PE loader. --- loader/pe_image.c | 1 + 1 file changed, 1 insertion(+) diff --git a/loader/pe_image.c b/loader/pe_image.c index 9e418922de1..5d53342e874 100644 --- a/loader/pe_image.c +++ b/loader/pe_image.c @@ -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: