summaryrefslogtreecommitdiffstats
path: root/unsupported/UnsupportedProcess.c
diff options
context:
space:
mode:
authorHisham <hisham@gobolinux.org>2016-02-02 15:53:02 +0100
committerHisham <hisham@gobolinux.org>2016-02-02 15:53:02 +0100
commitb54d2dde407921caa7561dde6b45831ba93d0840 (patch)
treecd81eea35dd65e46d22f2801ea403e1efc06eb59 /unsupported/UnsupportedProcess.c
parenta1f7f2869ec2bd860d5b4e4b39736ca877afdf6f (diff)
Check for failure in allocations.
Diffstat (limited to 'unsupported/UnsupportedProcess.c')
-rw-r--r--unsupported/UnsupportedProcess.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/UnsupportedProcess.c b/unsupported/UnsupportedProcess.c
index 87ac75fd..ec1de78e 100644
--- a/unsupported/UnsupportedProcess.c
+++ b/unsupported/UnsupportedProcess.c
@@ -17,7 +17,7 @@ in the source distribution for its full text.
}*/
Process* UnsupportedProcess_new(Settings* settings) {
- Process* this = calloc(1, sizeof(Process));
+ Process* this = xCalloc(1, sizeof(Process));
Object_setClass(this, Class(Process));
Process_init(this, settings);
return this;

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