[5/6] msi: Fix a memory leak.
Hans Leidekker
hans at codeweavers.com
Fri Feb 19 05:27:02 CST 2010
---
dlls/msi/streams.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/streams.c b/dlls/msi/streams.c
index 8d2e748..28c3093 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)
--
1.6.3.3
More information about the wine-patches
mailing list