From 26aaaa1269b1055935b65164759375477113a148 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 28 Oct 2011 11:29:34 +0200 Subject: [PATCH] gdi32: Fix a misplaced release_dc_ptr call. --- dlls/gdi32/font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c index 44f1af481eb..10a7f1dbc38 100644 --- a/dlls/gdi32/font.c +++ b/dlls/gdi32/font.c @@ -653,8 +653,8 @@ static INT FONT_EnumFontFamiliesEx( HDC hDC, LPLOGFONTW plf, FONTENUMPROCW efpro fe.unicode = unicode; fe.hdc = hDC; ret = physdev->funcs->pEnumFonts( physdev, plf, FONT_EnumInstance, (LPARAM)&fe ); + release_dc_ptr( dc ); } - release_dc_ptr( dc ); return ret; }