https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dac7d6f23c0e553ceeaaf6489bda550b7fccb0d2

commit dac7d6f23c0e553ceeaaf6489bda550b7fccb0d2
Author:     winesync <[email protected]>
AuthorDate: Sun Mar 13 19:08:50 2022 +0100
Commit:     Mark Jansen <[email protected]>
CommitDate: Sun Mar 20 19:28:33 2022 +0100

    [WINESYNC] msi: Fix a leak (Coverity).
    
    Signed-off-by: Sven Baars <[email protected]>
    Signed-off-by: Hans Leidekker <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id 462edf6e2a79208d6c88ac6aeb760733d571b7c5 by Sven Baars 
<[email protected]>
---
 dll/win32/msi/table.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dll/win32/msi/table.c b/dll/win32/msi/table.c
index 612a3695973..e9d6e8804e7 100644
--- a/dll/win32/msi/table.c
+++ b/dll/win32/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 );

Reply via email to