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?