Sven Baars : xmllite/tests: Fix a memory leak (Valgrind).
Module: wine Branch: master Commit: 7f7c703eb9e93e8c930584b2a7c33336f1a1dfe9 URL: https://source.winehq.org/git/wine.git/?a=commit;h=7f7c703eb9e93e8c930584b2a... Author: Sven Baars <sven.wine(a)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(a)gmail.com> Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard