[WINESYNC] 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>

wine commit id 462edf6e2a79208d6c88ac6aeb760733d571b7c5 by Sven Baars <sbaars@codeweavers.com>
This commit is contained in:
winesync 2022-03-13 19:08:50 +01:00 committed by Mark Jansen
parent 1cdb30ec0d
commit dac7d6f23c
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

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 );