James Hawkins : msi: Free the deformatted string.

Alexandre Julliard julliard at winehq.org
Wed Dec 12 09:29:18 CST 2007


Module: wine
Branch: master
Commit: f919a24eb27093c1ed85ebc5d375198967cef3d2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f919a24eb27093c1ed85ebc5d375198967cef3d2

Author: James Hawkins <truiken at gmail.com>
Date:   Tue Dec 11 21:45:08 2007 -0600

msi: Free the deformatted string.

---

 dlls/msi/custom.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 269aa3a..cf1e60b 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -317,6 +317,7 @@ UINT ACTION_CustomAction(MSIPACKAGE *package, LPCWSTR action, UINT script, BOOL
         case 23: /* installs another package in the source tree */
             deformat_string(package,target,&deformated);
             rc = HANDLE_CustomType23(package,source,deformated,type,action);
+            msi_free(deformated);
             break;
         case 50: /*EXE file specified by a property value */
             rc = HANDLE_CustomType50(package,source,target,type,action);




More information about the wine-cvs mailing list