https://git.reactos.org/?p=reactos.git;a=commitdiff;h=0bca61ed833df837a8eed981881f4cc892e85f40

commit 0bca61ed833df837a8eed981881f4cc892e85f40
Author:     winesync <[email protected]>
AuthorDate: Sat Mar 12 15:12:13 2022 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Mar 20 19:27:44 2022 +0100

    [WINESYNC] msi: Avoid leaking custom action data.
    
    Signed-off-by: Zebediah Figura <[email protected]>
    Signed-off-by: Hans Leidekker <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id f4bcd95fa78172a3a07c5f065adf4287fe69af02 by Zebediah Figura 
<[email protected]>
---
 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));

Reply via email to