d3dxof/tests: Remove redundant NULL check before HeapFree (Smatch).

This commit is contained in:
Michael Stefaniuc 2008-12-16 13:10:58 +01:00 committed by Alexandre Julliard
parent 425fc8def3
commit 1825e371b7
1 changed files with 1 additions and 3 deletions

View File

@ -261,9 +261,7 @@ static void test_dump(void)
CloseHandle(hFile); CloseHandle(hFile);
exit: exit:
HeapFree(GetProcessHeap(), 0, pvData);
if (pvData)
HeapFree(GetProcessHeap(), 0, pvData);
} }
START_TEST(d3dxof) START_TEST(d3dxof)