On Thu, Jun 26, 2008 at 03:25:30AM -0700, Joris Huizer wrote: > > > dlls/gdiplus/font.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c >index 9ef8edc..86122da 100644 >--- a/dlls/gdiplus/font.c >+++ b/dlls/gdiplus/font.c >@@ -42,6 +42,7 @@ static inline REAL get_dpi (void) > HDC hdc = GetDC(0); > GdipCreateFromHDC (hdc, &graphics); > GdipGetDpiX(graphics, &dpi); >+ GdipFree(graphics); > ReleaseDC (0, hdc); > > return dpi;
This should be GdipDeleteGraphics. Huw. -- Huw Davies [EMAIL PROTECTED]