Gijs Vermeulen : atl100/tests: Fix a memory leak (Valgrind).
Alexandre Julliard
julliard at winehq.org
Thu Jan 17 16:08:47 CST 2019
Module: wine
Branch: master
Commit: c5c54480c66bad1fb603c0983787b72cf478e98c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=c5c54480c66bad1fb603c0983787b72cf478e98c
Author: Gijs Vermeulen <gijsvrm at gmail.com>
Date: Thu Jan 17 01:37:14 2019 +0100
atl100/tests: Fix a memory leak (Valgrind).
Signed-off-by: Gijs Vermeulen <gijsvrm at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/atl100/tests/atl.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dlls/atl100/tests/atl.c b/dlls/atl100/tests/atl.c
index bdd3c57..d23c53c 100644
--- a/dlls/atl100/tests/atl.c
+++ b/dlls/atl100/tests/atl.c
@@ -964,6 +964,8 @@ static void test_AtlAxCreateControl(void)
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(container != NULL, "returned %p!\n", container);
ok(control != NULL, "returned %p\n", control);
+ IUnknown_Release(container);
+ IUnknown_Release(control);
DestroyWindow(hwnd);
container = NULL;
More information about the wine-cvs
mailing list