gdiplus/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com> Signed-off-by: Vincent Povirk <vincent@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
aab7fcd393
commit
a6d9fe0b0f
|
@ -2519,6 +2519,9 @@ static void test_drawimage(void)
|
|||
|
||||
check_emfplus(hemf, draw_image_bitmap_records, "draw image bitmap");
|
||||
|
||||
stat = GdipDisposeImage((GpImage*)metafile);
|
||||
expect(Ok, stat);
|
||||
|
||||
/* test drawing metafile */
|
||||
stat = GdipRecordMetafile(hdc, EmfTypeEmfPlusOnly, &frame, MetafileFrameUnitPixel, description, &metafile);
|
||||
expect(Ok, stat);
|
||||
|
|
Loading…
Reference in New Issue