[WINESYNC] msi: Avoid leaking custom action data.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>

wine commit id f4bcd95fa78172a3a07c5f065adf4287fe69af02 by Zebediah Figura <z.figura12@gmail.com>
This commit is contained in:
winesync 2022-03-12 15:12:13 +01:00 committed by Mark Jansen
parent 8e940ff11f
commit 0bca61ed83
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -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));