Mike McCormack : msi: Fix a memory leak.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Nov 8 06:42:58 CST 2006
Module: wine
Branch: master
Commit: 063c42cfa6e990e4a27084c333f209f3960c90a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=063c42cfa6e990e4a27084c333f209f3960c90a6
Author: Mike McCormack <mike at codeweavers.com>
Date: Wed Nov 8 14:55:31 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 ae4400c..ffaa216 100644
--- a/dlls/msi/action.c
+++ b/dlls/msi/action.c
@@ -624,6 +624,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *pac
check = msi_dup_property( package, cszSourceDir );
if (!check)
MSI_SetPropertyW(package, cszSourceDir, path);
+ msi_free(check);
check = msi_dup_property( package, cszSOURCEDIR );
if (!check)
More information about the wine-cvs
mailing list