gdi32: Fix a misplaced release_dc_ptr call.
This commit is contained in:
parent
fe1f692d91
commit
26aaaa1269
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue