Don't force allocation, as failure is handled

This commit is contained in:
Benny Baumann 2021-10-03 00:52:39 +02:00 committed by BenBE
parent 9eb52d5932
commit 57c1538887

View File

@ -145,7 +145,7 @@ static void DarwinProcess_updateCmdLine(const struct kinfo_proc* k, Process* pro
}
/* Allocate space for the arguments. */
procargs = (char*)xMalloc(argmax);
procargs = (char*)malloc(argmax);
if ( procargs == NULL ) {
goto ERROR_A;
}