msi: MsiSetMode returns a UINT system error code, not a BOOL.

James Hawkins truiken at gmail.com
Thu Dec 3 23:11:49 CST 2009


This change fixes two todo_wine's and several valgrind errors of the form:

24 bytes in 1 blocks are definitely lost
    at  notify_alloc (heap.c:247)
    by  RtlAllocateHeap (heap.c:1697)
    by  SysAllocStringLen (oleaut.c:233)
    by  SysAllocString (oleaut.c:157)
    by  AutomationObject_Invoke (automation.c:435)
    by  invoke (automation.c:691)
    by  Session_ModePut (automation.c:1018)
    by  test_Session (automation.c:1715)
    by  test_Installer (automation.c:2424)
    by  func_automation (automation.c:2520)
    by  run_test (test.h:535)
    by  main (test.h:585)

---
 dlls/msi/install.c          |   15 +++------------
 dlls/msi/tests/automation.c |    4 ++--
 include/msiquery.h          |    2 +-
 3 files changed, 6 insertions(+), 15 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msi-MsiSetMode-returns-a-UINT-system-error-code-not-.patch
Type: text/x-patch
Size: 2520 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091203/0c3bf0c5/attachment-0001.bin>


More information about the wine-patches mailing list