fusion: use HeapAlloc, not strdup, to avoid malloc/HeapFree mismatch [take 2]

Dan Kegel dank at kegel.com
Mon May 26 21:19:11 CDT 2008


Can't mix strdup and HeapFree.

Fixes first two Valgrind errors in
http://kegel.com/wine/valgrind/logs-2008-05-25/vg-fusion_asmcache.txt

[The part James objected to will follow in a second patch.  He's happy
with both now.]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusion2.patch
Type: text/x-diff
Size: 979 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080526/210e6fdc/attachment.patch 


More information about the wine-patches mailing list