Re: [PATCH] dwrite: Implement newer version of CreateFontFromLOGFONT()
22 Apr
2016
22 Apr
'16
11:52 a.m.
Hi Nikolay, On 04/21/16 19:48, Nikolay Sivov wrote:
+ hr = IDWriteFontCollection_FindFamilyName(collection, logfont->lfFaceName, &index, &exists); + if (FAILED(hr)) { + IDWriteFontCollection_Release(collection); + goto done; + }
You release collection twice in error path. Cheers, Jacek
3523
Age (days ago)
3523
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jacek Caban