gdi32: Close handle in mfdrv (Coverity).
This commit is contained in:
parent
1cf9939dc0
commit
ff1bd6da35
|
@ -338,6 +338,7 @@ HDC WINAPI CreateMetaFileW( LPCWSTR filename )
|
|||
if (!WriteFile( hFile, physDev->mh, sizeof(*physDev->mh), NULL,
|
||||
NULL )) {
|
||||
free_dc_ptr( dc );
|
||||
CloseHandle (hFile );
|
||||
return 0;
|
||||
}
|
||||
physDev->hFile = hFile;
|
||||
|
|
Loading…
Reference in New Issue