[PATCH] dwrite: Implement newer version of CreateFontFromLOGFONT()

Jacek Caban jacek at codeweavers.com
Fri Apr 22 06:52:06 CDT 2016


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



More information about the wine-devel mailing list