Use I_RpcGetBuffer Instead of HeapReAlloc in Typelib Marshaler

Robert Shearman rob at codeweavers.com
Wed May 11 08:26:34 CDT 2005


Hi,

The typelib marshaler assumes that the memory allocated from 
I_RpcGetBuffer came from HeapAlloc(GetProcessHeap(), ...), which might 
not necessarily be the case.

Rob

Changelog:
Use I_RpcGetBuffer instead of HeapReAlloc for getting the Buffer memory.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tmarshal.diff
Type: text/x-patch
Size: 987 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050511/6489d9d8/tmarshal.bin


More information about the wine-patches mailing list