msi: Fix a memory leak.

This commit is contained in:
Hans Leidekker 2010-02-19 12:27:02 +01:00 committed by Alexandre Julliard
parent 9f68142118
commit ddb2091623

View File

@ -505,7 +505,10 @@ static INT add_streams_to_table(MSISTREAMSVIEW *sv)
break;
if (stat.type != STGTY_STREAM)
{
CoTaskMemFree(stat.pwcsName);
continue;
}
/* table streams are not in the _Streams table */
if (*stat.pwcsName == 0x4840)