3 Jun
2009
3 Jun
'09
4 a.m.
+ /* make a graphics object and pen object */ + status = GdipCreateFromHDC(hdc, &graphics); + expect(Ok, status); + ok(hdc != NULL, "Expected HDC to be initialized\n"); + + status = GdipCreateFromHDC(hdc, &graphics); + expect(Ok, status); + ok(graphics != NULL, "Expected graphics to be initialized\n"); You're creating two graphics objects here and leaking the first one. Vincent Povirk On Tue, Jun 2, 2009 at 10:39 PM, Andrew Eikum<andrew(a)brightnightgames.com> wrote:
Tested on WinXP Professional SP3 and Win7 Ultimate RC1, all pass.
--- dlls/gdiplus/tests/graphics.c | 64 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 64 insertions(+), 0 deletions(-)