Skip to content
Snippets Groups Projects
Commit 3ed8cc57 authored by Kai Morich's avatar Kai Morich Committed by Alexandre Julliard
Browse files

InternalExtractIcon16 forgot to close file handle.

parent 541ff5fb
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,7 @@ HGLOBAL16 WINAPI InternalExtractIcon16(HINSTANCE16 hInstance,
if( !n )
return 0;
hFile = OpenFile( lpszExeFileName, &ofs, OF_READ );
hFile = OpenFile( lpszExeFileName, &ofs, OF_READ|OF_EXIST );
hRet = GlobalAlloc16( GMEM_FIXED | GMEM_ZEROINIT, sizeof(HICON16)*n);
RetPtr = (HICON16*)GlobalLock16(hRet);
......
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