From 57c1538887ba3df68d274864ad39ca3dd73f3879 Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sun, 3 Oct 2021 00:52:39 +0200 Subject: [PATCH] Don't force allocation, as failure is handled --- darwin/DarwinProcess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }