Mike McCormack : msi: Fix a memory leak.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 17 06:12:26 CDT 2006


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

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Oct 17 16:11:42 2006 +0900

msi: Fix a memory leak.

---

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

diff --git a/dlls/msi/action.c b/dlls/msi/action.c
index 4bf505c..d893af2 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -596,6 +596,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *pac
         if (!check)
             MSI_SetPropertyW(package, cszSOURCEDIR, path);
 
+        msi_free( package->PackagePath );
         package->PackagePath = path;
 
         msi_free(check);




More information about the wine-cvs mailing list