Alistair Leslie-Hughes : xmllite/tests: Fix memory leak (valgrind).

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 30 08:22:25 CDT 2015


Module: wine
Branch: master
Commit: 3e9b4c1a1765f87b972a27be89d3df772b6f17c8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3e9b4c1a1765f87b972a27be89d3df772b6f17c8

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Fri Oct 30 17:48:38 2015 +1100

xmllite/tests: Fix memory leak (valgrind).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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[] = {




More information about the wine-cvs mailing list