Skip to content
Snippets Groups Projects
Commit eb5c7852 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

package/win32: fix unlikely not available outside of VLC

The code was tested inside the VLC source tree...
parent 48db6607
No related branches found
No related tags found
Loading
Pipeline #537658 passed with stage
in 39 minutes and 56 seconds
......@@ -213,7 +213,7 @@ int FIND_PROC_BY_NAME(TCHAR *szProcessName, BOOL bTerminate, BOOL bClose)
for (;;)
{
processIDs = realloc(processIDs, process_count * sizeof(DWORD));
if (unlikely(processIDs == NULL))
if (processIDs == NULL)
break;
DWORD readSize;
if (!EnumProcesses(processIDs, process_count*sizeof(DWORD), &readSize))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment