Commit 8c6c2261 authored by Joris Huizer's avatar Joris Huizer Committed by Alexandre Julliard

dxdiagn: Plug memory leak.

parent b0696b8b
......@@ -433,8 +433,12 @@ static BOOL is_netmeeting_running(void)
{
if (get_process_name_from_pid(pid_list[i], process_name, sizeof(process_name)/sizeof(WCHAR)) &&
!lstrcmpW(conf_exe, process_name))
{
HeapFree(GetProcessHeap(), 0, pid_list);
return TRUE;
}
}
HeapFree(GetProcessHeap(), 0, pid_list);
}
return FALSE;
......
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