Dmitry Timoshkov : msi: Fix memory leak.
Alexandre Julliard
julliard at winehq.org
Tue May 21 13:56:27 CDT 2013
Module: wine
Branch: master
Commit: 30fc34b881594fd73ae60c85379302e13e797404
URL: http://source.winehq.org/git/wine.git/?a=commit;h=30fc34b881594fd73ae60c85379302e13e797404
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Tue May 21 16:08:17 2013 +0900
msi: Fix memory leak.
---
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 1a6b858..5b58976 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -878,6 +878,7 @@ static UINT HANDLE_CustomType50( MSIPACKAGE *package, const WCHAR *source, const
TRACE("exe %s arg %s\n", debugstr_w(exe), debugstr_w(arg));
handle = execute_command( exe, arg, szCRoot );
+ msi_free( exe );
msi_free( arg );
if (handle == INVALID_HANDLE_VALUE) return ERROR_SUCCESS;
return wait_process_handle( package, type, handle, action );
More information about the wine-cvs
mailing list