localspl/tests: Fix memory leak (found by Smatch).

This commit is contained in:
Lionel Debroux 2007-10-20 21:33:12 +02:00 committed by Alexandre Julliard
parent 938f748b20
commit 1a8001af5b

View File

@ -166,6 +166,7 @@ static void find_installed_ports(void)
if (!res) {
skip("no ports found\n");
HeapFree(GetProcessHeap(), 0, pi);
return;
}