msi: Release the record only after using the record's data.
This commit is contained in:
parent
ca71287572
commit
b6cfc405bd
dlls/msi
|
@ -4358,9 +4358,9 @@ static UINT ITERATE_InstallService(MSIRECORD *rec, LPVOID param)
|
||||||
}
|
}
|
||||||
|
|
||||||
key = MSI_RecordGetString(row, 6);
|
key = MSI_RecordGetString(row, 6);
|
||||||
msiobj_release(&row->hdr);
|
|
||||||
|
|
||||||
file = get_loaded_file(package, key);
|
file = get_loaded_file(package, key);
|
||||||
|
msiobj_release(&row->hdr);
|
||||||
if (!file)
|
if (!file)
|
||||||
{
|
{
|
||||||
ERR("Failed to load the service file\n");
|
ERR("Failed to load the service file\n");
|
||||||
|
|
Loading…
Reference in New Issue