msi: Use SysAllocString/SysFreeString for BSTR members of EXCEPINFO structure.

Misha Koshelev mk144210 at bcm.edu
Fri Jul 27 23:51:47 CDT 2007


Thanks to James for pointing out that the automation tests were failing when running with
WINEDEBUG=+relay. This led me to do some research and EXCEPINFO bstr fields get SysAllocString'ed
and then must be SysFreeString'ed, so also this fixes a memory leak in the automation tests too.
---
 dlls/msi/automation.c       |    4 ++--
 dlls/msi/script.c           |    6 ++++++
 dlls/msi/tests/automation.c |    4 ++++
 3 files changed, 12 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0d80cbf34dbac4e8ade6afc97eddbb3ea8d19071.diff
Type: text/x-patch
Size: 2139 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070727/707e5a21/0d80cbf34dbac4e8ade6afc97eddbb3ea8d19071.bin


More information about the wine-patches mailing list