[PATCH 2/2] oleaut32: Fix invalid free of import library entry name with SLTG typelibs.

Rob Shearman robertshearman at gmail.com
Thu Aug 14 12:50:57 CDT 2008

Use TLB_MultiByteToBSTR to allocate import library entry name in
ITypeLib2_Constructor_MSFT as BSTR instead of a normal block of memory
to make the allocator the same as for SLTG typelibs. Free the name
with SysFreeString instead of TLB_Free.
 dlls/oleaut32/typelib.c |   32 ++++++++++++++------------------
 1 files changed, 14 insertions(+), 18 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9918370e64b76426423a7b34debe2791d9d08c62.diff
Type: text/x-patch
Size: 2648 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080814/bc333b94/attachment.bin 

More information about the wine-patches mailing list