mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-10 19:17:16 +00:00
msi: Fix a record leak on error path (Coverity).
This commit is contained in:
parent
c01c0b52ed
commit
203d282a78
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue