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