msi: Fix a leak (coverity)

Frédéric Delanoy frederic.delanoy at gmail.com
Mon Nov 5 08:46:45 CST 2012


CID 713594
---
 dlls/msi/table.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msi/table.c b/dlls/msi/table.c
index a7798e5..c5aa685 100644
--- a/dlls/msi/table.c
+++ b/dlls/msi/table.c
@@ -2267,6 +2267,7 @@ static UINT msi_record_encoded_stream_name( const MSITABLEVIEW *tv, MSIRECORD *r
             if ( !p )
             {
                 r = ERROR_OUTOFMEMORY;
+                msi_free(sval);
                 goto err;
             }
             stname = p;
-- 
1.8.0




More information about the wine-patches mailing list