diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-10-03 00:52:39 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-10-03 19:18:25 +0200 |
commit | 57c1538887ba3df68d274864ad39ca3dd73f3879 (patch) | |
tree | 8ea472bc54f0e736fcf2391926b792ad60f59626 /darwin | |
parent | 9eb52d593249a27ba9e9ddb983dc30412f209114 (diff) |
Don't force allocation, as failure is handled
Diffstat (limited to 'darwin')
-rw-r--r-- | darwin/DarwinProcess.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |