Commit 3bae9b72 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

gdi32/enhmfdrv: Remove unneded if() before HeapFree.

parent bee7d4b7
......@@ -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;
}
......
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