summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-10-03 00:52:39 +0200
committerBenBE <BenBE@geshi.org>2021-10-03 19:18:25 +0200
commit57c1538887ba3df68d274864ad39ca3dd73f3879 (patch)
tree8ea472bc54f0e736fcf2391926b792ad60f59626
parent9eb52d593249a27ba9e9ddb983dc30412f209114 (diff)
Don't force allocation, as failure is handled
-rw-r--r--darwin/DarwinProcess.c2
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;
}

© 2014-2021 Faster IT GmbH | imprint | privacy policy