[PATCH] msi: Fix a leak (Coverity).
Sven Baars
sbaars at codeweavers.com
Sun Aug 2 12:20:25 CDT 2020
Signed-off-by: Sven Baars <sbaars at codeweavers.com>
---
dlls/msi/table.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index 612a3695973..e9d6e8804e7 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -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 );
--
2.24.0
More information about the wine-devel
mailing list