Commit 9b329d5b authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

msi: Keep track of the patch filename in apply_registered_patch.

parent b8727115
......@@ -1210,6 +1210,13 @@ static UINT apply_registered_patch( MSIPACKAGE *package, LPCWSTR patch_code )
return r;
}
patch_info->localfile = strdupW( patch_file );
if (!patch_info->localfile)
{
msiobj_release( &patch_db->hdr );
return ERROR_OUTOFMEMORY;
}
r = msi_apply_patch_db( package, patch_db, patch_info );
msiobj_release( &patch_db->hdr );
if (r != ERROR_SUCCESS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment