gdiplus/tests: Remove redundant NULL check before GdipFree().
Michael Stefaniuc
mstefani at redhat.de
Tue Mar 11 15:08:27 CDT 2008
---
dlls/gdiplus/tests/image.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/gdiplus/tests/image.c b/dlls/gdiplus/tests/image.c
index 821d358..9faa090 100644
--- a/dlls/gdiplus/tests/image.c
+++ b/dlls/gdiplus/tests/image.c
@@ -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");
--
1.5.4.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080311/c835f1b6/attachment.pgp
More information about the wine-patches
mailing list