shell32/tests: Fix some memory leaks (Valgrind).

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Sven Baars 2019-01-14 13:45:54 +01:00 committed by Alexandre Julliard
parent 0794ab8400
commit cfc7bd7460
1 changed files with 3 additions and 0 deletions

View File

@ -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);