Sven Baars : xmllite/tests: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Mon Jan 14 16:21:49 CST 2019
Module: wine
Branch: master
Commit: 7f7c703eb9e93e8c930584b2a7c33336f1a1dfe9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=7f7c703eb9e93e8c930584b2a7c33336f1a1dfe9
Author: Sven Baars <sven.wine at gmail.com>
Date: Mon Jan 14 16:14:38 2019 +0100
xmllite/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 99ad168..1c6689a 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);
More information about the wine-cvs
mailing list