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:
parent
e5eba4b7d1
commit
6e5a0777fd
|
@ -152,6 +152,7 @@ static void test_WlanEnumInterfaces(void)
|
|||
{
|
||||
skip("No wireless interfaces\n");
|
||||
WlanCloseHandle(handle, NULL);
|
||||
WlanFreeMemory(list);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue