Commit b6cfc405 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Release the record only after using the record's data.

parent ca712875
......@@ -4358,9 +4358,9 @@ static UINT ITERATE_InstallService(MSIRECORD *rec, LPVOID param)
}
key = MSI_RecordGetString(row, 6);
msiobj_release(&row->hdr);
file = get_loaded_file(package, key);
msiobj_release(&row->hdr);
if (!file)
{
ERR("Failed to load the service file\n");
......
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