localspl/tests: Fix memory leak (found by Smatch).
This commit is contained in:
parent
938f748b20
commit
1a8001af5b
|
@ -166,6 +166,7 @@ static void find_installed_ports(void)
|
|||
|
||||
if (!res) {
|
||||
skip("no ports found\n");
|
||||
HeapFree(GetProcessHeap(), 0, pi);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue