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