gdi32/enhmfdrv: Remove unneded if() before HeapFree.
This commit is contained in:
parent
bee7d4b7e3
commit
3bae9b725c
|
@ -285,10 +285,8 @@ HDC WINAPI CreateEnhMetaFileA(
|
|||
|
||||
hReturnDC = CreateEnhMetaFileW(hdc, filenameW, rect, descriptionW);
|
||||
|
||||
if(filenameW)
|
||||
HeapFree( GetProcessHeap(), 0, filenameW );
|
||||
if(descriptionW)
|
||||
HeapFree( GetProcessHeap(), 0, descriptionW );
|
||||
HeapFree( GetProcessHeap(), 0, filenameW );
|
||||
HeapFree( GetProcessHeap(), 0, descriptionW );
|
||||
|
||||
return hReturnDC;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue