Hans Leidekker : msi: Release the package in MsiGetMode and MsiSetMode.
Alexandre Julliard
julliard at winehq.org
Thu May 20 11:03:02 CDT 2010
Module: wine
Branch: master
Commit: 57a6b6fb3837721cfd13969afb3ca11849e73be2
URL: http://source.winehq.org/git/wine.git/?a=commit;h=57a6b6fb3837721cfd13969afb3ca11849e73be2
Author: Hans Leidekker <hans at codeweavers.com>
Date: Thu May 20 12:01:35 2010 +0200
msi: Release the package in MsiGetMode and MsiSetMode.
---
dlls/msi/install.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/install.c b/dlls/msi/install.c
index cba2dd5..fda49b9 100644
--- a/dlls/msi/install.c
+++ b/dlls/msi/install.c
@@ -721,6 +721,7 @@ BOOL WINAPI MsiGetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode)
r = TRUE;
}
+ msiobj_release( &package->hdr );
return r;
}
@@ -774,6 +775,7 @@ UINT WINAPI MsiSetMode(MSIHANDLE hInstall, MSIRUNMODE iRunMode, BOOL fState)
r = ERROR_ACCESS_DENIED;
}
+ msiobj_release( &package->hdr );
return r;
}
More information about the wine-cvs
mailing list