Commit 0745ccb9 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

gdiplus/tests: Remove redundant NULL check before GdipFree().

parent 5c9d1223
......@@ -179,8 +179,7 @@ static void test_SavingImages(void)
"Saved image dimensions are different!\n");
cleanup:
if (codecs)
GdipFree(codecs);
GdipFree(codecs);
if (bm)
GdipDisposeImage((GpImage*)bm);
ok(DeleteFileW(filename), "Delete failed.\n");
......
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