msi: Fix a stream data leak on error (Coverity).

oldstable
Nikolay Sivov 2012-12-08 16:08:57 +04:00 committed by Alexandre Julliard
parent 61ad275e82
commit af5e73572a
1 changed files with 1 additions and 0 deletions

View File

@ -200,6 +200,7 @@ static UINT STREAMS_set_row(struct tagMSIVIEW *view, UINT row, MSIRECORD *rec, U
if (FAILED(hr))
{
WARN("failed to open stream: %08x\n", hr);
msi_free(stream);
goto done;
}