oleaut32: Fix invalid free of import library entry name with SLTG typelibs.
commitfc269433cefbddc1d727e508b3079c8c8015f752
authorRob Shearman <robertshearman@gmail.com>
Thu, 14 Aug 2008 17:50:57 +0000 (14 18:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 18 Aug 2008 12:36:58 +0000 (18 14:36 +0200)
tree08c7eccb71eee8db679394d61a415269ffe155ba
parent2fab79955fca7cf6b5a3672d19477425b4ace2f8
oleaut32: Fix invalid free of import library entry name with SLTG typelibs.

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