wlanapi/tests: Always free interface list (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2017-03-12 13:28:40 +03:00 committed by Alexandre Julliard
parent e5eba4b7d1
commit 6e5a0777fd

View File

@ -152,6 +152,7 @@ static void test_WlanEnumInterfaces(void)
{ {
skip("No wireless interfaces\n"); skip("No wireless interfaces\n");
WlanCloseHandle(handle, NULL); WlanCloseHandle(handle, NULL);
WlanFreeMemory(list);
return; return;
} }