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

This commit is contained in:
Detlef Riekenberg 2010-08-20 14:33:37 +02:00 committed by Alexandre Julliard
parent bee7d4b7e3
commit 3bae9b725c
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}