From: Hans Lehnert hans.lehnert@gmail.com
--- dlls/gdiplus/font.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/font.c b/dlls/gdiplus/font.c index 4970043eb15..0dcfad34bbb 100644 --- a/dlls/gdiplus/font.c +++ b/dlls/gdiplus/font.c @@ -236,6 +236,7 @@ GpStatus WINGDIPAPI GdipCreateFontFromLogfontW(HDC hdc, if (stat != Ok) { free(*font); + *font = NULL; return NotTrueTypeFont; }