23 May
2023
23 May
'23
4:27 p.m.
Esme Povirk (@madewokherd) commented about dlls/gdiplus/tests/metafile.c:
+ stat = GdipDeleteCustomLineCap(custom_line_cap); + expect(Ok, stat); + stat = GdipDeletePath(line_cap_path); + expect(Ok, stat); + + stat = GdipDrawPath(graphics, pen, draw_path); + expect(Ok, stat); + + stat = GdipDeletePen(pen); + expect(Ok, stat); + stat = GdipDeletePath(draw_path); + expect(Ok, stat); + stat = GdipDeleteGraphics(graphics); + expect(Ok, stat); + + GdipCloneImage((GpImage *)metafile, (GpImage **)&clone_metafile); Uh, what's the reason for this copy?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/2870#note_33552