fusion: use HeapAlloc, not strdup, to avoid malloc/HeapFree mismatch; don't test variable if not set

Dan Kegel dank at kegel.com
Mon May 26 16:21:25 CDT 2008


Can't mix strdup and HeapFree.

Fixes three valgrind errors
http://kegel.com/wine/valgrind/logs-2008-05-25/vg-fusion_asmcache.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusion.patch
Type: text/x-diff
Size: 1727 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080526/6846d95d/attachment-0001.patch 


More information about the wine-patches mailing list