diff --git a/darwin/DarwinProcess.c b/darwin/DarwinProcess.c index 7a70f10f..62b6651e 100644 --- a/darwin/DarwinProcess.c +++ b/darwin/DarwinProcess.c @@ -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; }