[PATCH 1/3 v2] dwrite: Don't crash on uninitialized cached and factory fields in dwritefontface_Release

Piotr Caban piotr at codeweavers.com
Thu Apr 27 09:27:33 CDT 2017


The function may be called with the fields uninitialized from
create_fontface when init_font_data fails.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
---
  dlls/dwrite/font.c | 15 +++++----------
  1 file changed, 5 insertions(+), 10 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-dwrite-Don-t-crash-on-uninitialized-cached-and-factory.txt
Type: text/x-patch
Size: 2253 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20170427/008df853/attachment.bin>


More information about the wine-patches mailing list