[PATCH] xmllite/tests: Fix memory leak (valgrind)

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Fri Oct 30 01:48:38 CDT 2015


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 dlls/xmllite/tests/reader.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/xmllite/tests/reader.c b/dlls/xmllite/tests/reader.c
index f7c576f..9c0cdec 100644
--- a/dlls/xmllite/tests/reader.c
+++ b/dlls/xmllite/tests/reader.c
@@ -1431,6 +1431,7 @@ static void test_readvaluechunk(void)
     ok(value[0] == 'c', "got %s\n", wine_dbgstr_w(value));
 
     IXmlReader_Release(reader);
+    IStream_Release(stream);
 }
 
 static struct test_entry cdata_tests[] = {
-- 
1.9.1




More information about the wine-patches mailing list