https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0bca61ed833df837a8eed…
commit 0bca61ed833df837a8eed981881f4cc892e85f40
Author: winesync <ros-dev(a)reactos.org>
AuthorDate: Sat Mar 12 15:12:13 2022 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Sun Mar 20 19:27:44 2022 +0100
[WINESYNC] msi: Avoid leaking custom action data.
Signed-off-by: Zebediah Figura <z.figura12(a)gmail.com>
Signed-off-by: Hans Leidekker <hans(a)codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard(a)winehq.org>
wine commit id f4bcd95fa78172a3a07c5f065adf4287fe69af02 by Zebediah Figura
<z.figura12(a)gmail.com>
---
dll/win32/msi/custom.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dll/win32/msi/custom.c b/dll/win32/msi/custom.c
index 34486f949a9..3e96aee62c0 100644
--- a/dll/win32/msi/custom.c
+++ b/dll/win32/msi/custom.c
@@ -610,6 +610,7 @@ static DWORD WINAPI DllThread( LPVOID arg )
info = find_action_by_guid(guid);
ret = GetBinaryTypeW(info->source, &arch);
+ release_custom_action_data(info);
if (sizeof(void *) == 8 && ret && arch == SCS_32BIT_BINARY)
GetSystemWow64DirectoryW(buffer, MAX_PATH - sizeof(msiexecW)/sizeof(WCHAR));