dwrite: initialize realloc'ed memory to zero

Aric Stewart aric at codeweavers.com
Fri Aug 29 10:49:41 CDT 2014


in the loaders and file_loaders we depend on unused slots being zero
so explicitly initialize that during realloc

Fixes exceptions when run with +heap
---
 dlls/dwrite/dwrite_private.h | 5 +++++
 dlls/dwrite/main.c           | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0018-dwrite-initialize-realloc-ed-memory-to-zero.txt
Type: text/x-patch
Size: 1524 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140829/9b43c07e/attachment.bin>


More information about the wine-patches mailing list