Commit 0b96693f authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdi32: Remove a redundant NULL check before HeapFree().

parent 59ba31d1
......@@ -175,7 +175,7 @@ static BOOL EMFDRV_DeleteDC( PHYSDEV dev )
EMFDRV_PDEVICE *physDev = get_emf_physdev( dev );
UINT index;
if (physDev->emh) HeapFree( GetProcessHeap(), 0, physDev->emh );
HeapFree( GetProcessHeap(), 0, physDev->emh );
for(index = 0; index < physDev->handles_size; index++)
if(physDev->handles[index])
GDI_hdc_not_using_object(physDev->handles[index], dev->hdc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment