Commit 1a8001af authored by Lionel Debroux's avatar Lionel Debroux Committed by Alexandre Julliard

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

parent 938f748b
......@@ -166,6 +166,7 @@ static void find_installed_ports(void)
if (!res) {
skip("no ports found\n");
HeapFree(GetProcessHeap(), 0, pi);
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment