[PATCH 1/2] msi: Release msi_custom_action_info when no longer needed.

Hib Eris hib at hiberis.nl
Sun Jun 21 12:48:11 CDT 2009


This patch fixes a warning when running light.exe from the Windows
Installer Toolkit XML (WiX) about not being able to delete a temporary
directory. The cause of this warning is an unreleased handle to a
temporary file. The handle is not released because the
msi_custom_action_info is not released appropriately.

This patch will only fix those actions that are run by light.exe and
that are thereby somewhat tested in real life.

A following patch will attempt to fix other actions as well, but has
not had any testing at all.
---
 dlls/msi/custom.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bb8953ac293be8f84eab4ecc32cf6d569149ca09.diff
Type: text/x-patch
Size: 1871 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090621/f97126bc/attachment.bin>


More information about the wine-patches mailing list