[PATCH] xmllite/tests: Fix a memory leak (Valgrind).

Sven Baars sven.wine at gmail.com
Mon Jan 14 09:14:38 CST 2019


Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
 dlls/xmllite/tests/writer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/xmllite/tests/writer.c b/dlls/xmllite/tests/writer.c
index 99ad168c53..1c6689a00d 100644
--- a/dlls/xmllite/tests/writer.c
+++ b/dlls/xmllite/tests/writer.c
@@ -483,6 +483,7 @@ todo_wine
     CHECK_OUTPUT_RAW(stream, utf16_outputW, sizeof(utf16_outputW));
 
     IStream_Release(stream);
+    IUnknown_Release(output);
 
     /* Create output with meaningless code page value. */
     hr = CreateStreamOnHGlobal(NULL, TRUE, &stream);
-- 
2.17.1




More information about the wine-devel mailing list