Commit 203d282a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msi: Fix a record leak on error path (Coverity).

parent c01c0b52
......@@ -2092,7 +2092,10 @@ static UINT TABLE_drop(struct tagMSIVIEW *view)
r = TABLE_CreateView(tv->db, szTables, &tables);
if (r != ERROR_SUCCESS)
{
msiobj_release(&rec->hdr);
return r;
}
r = msi_table_find_row((MSITABLEVIEW *)tables, rec, &row, NULL);
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