=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msi: Fix a leak (coverity).
Alexandre Julliard
julliard at winehq.org
Mon Nov 5 13:32:25 CST 2012
Module: wine
Branch: master
Commit: 84541cc5e358a39e8a1bc3a3387e1e189571567e
URL: http://source.winehq.org/git/wine.git/?a=commit;h=84541cc5e358a39e8a1bc3a3387e1e189571567e
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Mon Nov 5 15:46:45 2012 +0100
msi: Fix a leak (coverity).
---
dlls/msi/table.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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;
More information about the wine-cvs
mailing list