shell32/tests: fix a couple memory leaks (Valgrind).

This commit is contained in:
Austin English 2011-01-18 01:45:50 -08:00 committed by Alexandre Julliard
parent 63f2121d92
commit 19fa0b32fd
1 changed files with 3 additions and 0 deletions

View File

@ -4434,6 +4434,9 @@ static void test_SHChangeNotify(void)
SHChangeNotify(exp_data->signal, SHCNF_PATHW | SHCNF_FLUSH, path1, path2);
do_events();
ok(exp_data->missing_events == 0, "%s: Expected wndproc to be called\n", exp_data->id);
HeapFree(GetProcessHeap(), 0, path1);
HeapFree(GetProcessHeap(), 0, path2);
}
}