From ddb20916235967b3ea29d3e8e0400e0cf0d5642d Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 19 Feb 2010 12:27:02 +0100 Subject: [PATCH] msi: Fix a memory leak. --- dlls/msi/streams.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c index 8d2e748e64..28c3093bef 100644 --- a/dlls/msi/streams.c +++ b/dlls/msi/streams.c @@ -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) -- 2.33.8