msi: Fix a leak (Coverity).

Signed-off-by: Sven Baars <sbaars@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2020-08-02 19:20:25 +02:00 committed by Alexandre Julliard
parent 69f1b12a30
commit 462edf6e2a
1 changed files with 1 additions and 0 deletions

View File

@ -2887,6 +2887,7 @@ UINT TransformView_Create( MSIDATABASE *db, string_table *st, LPCWSTR name, MSIV
colinfo[idx - 1].colname = msi_string_lookup( st, name_id, NULL );
else
ERR( "column name %s is not defined in strings table\n", wine_dbgstr_w(name) );
msiobj_release( &rec->hdr );
}
MSI_ViewClose( q );
msiobj_release( &q->hdr );