[PATCH] shell32/tests: Fix some memory leaks (Valgrind).
Sven Baars
sven.wine at gmail.com
Mon Jan 14 06:45:54 CST 2019
Signed-off-by: Sven Baars <sven.wine at gmail.com>
---
dlls/shell32/tests/autocomplete.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/shell32/tests/autocomplete.c b/dlls/shell32/tests/autocomplete.c
index 4f81214b02..4ef124c9d2 100644
--- a/dlls/shell32/tests/autocomplete.c
+++ b/dlls/shell32/tests/autocomplete.c
@@ -786,7 +786,10 @@ static void test_custom_source(void)
SendMessageW(hwnd_edit, WM_CHAR, 'x', 1);
dispatch_messages();
ok(obj->num_resets == 1, "Expected 1 reset, got %u\n", obj->num_resets);
+
IAutoCompleteDropDown_Release(acdropdown);
+ IAutoComplete2_Release(autocomplete);
+ IUnknown_Release(enumerator);
test_prefix_filtering(hwnd_edit);
--
2.17.1
More information about the wine-devel
mailing list