msi: Fix a leak (coverity).

oldstable
Frédéric Delanoy 2012-11-05 15:46:45 +01:00 committed by Alexandre Julliard
parent 7d3f903db1
commit 84541cc5e3
1 changed files with 1 additions and 0 deletions

View File

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