Commit 3fa41c9e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

msi: Fixed missing free in an error path (Coverity).

parent 6e25c34f
......@@ -5813,7 +5813,11 @@ static UINT ITERATE_InstallService(MSIRECORD *rec, LPVOID param)
ERR("Query failed\n");
goto done;
}
if (!(key = MSI_RecordGetString(row, 6))) goto done;
if (!(key = MSI_RecordGetString(row, 6)))
{
msiobj_release(&row->hdr);
goto done;
}
file = msi_get_loaded_file(package, key);
msiobj_release(&row->hdr);
if (!file)
......
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