diff options
author | Hisham <hisham@gobolinux.org> | 2016-02-02 15:58:45 +0100 |
---|---|---|
committer | Hisham <hisham@gobolinux.org> | 2016-02-02 15:58:45 +0100 |
commit | ffcf48fb747cdad6fec7e6b6ca93849b1606674a (patch) | |
tree | 92eae96282eb6abe4f406ae7b5c0a4932db70ef2 /unsupported | |
parent | 301c346c85a761861e282f164dd9a7ff34cd6193 (diff) | |
parent | b54d2dde407921caa7561dde6b45831ba93d0840 (diff) |
Merge branch 'xalloc'
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/UnsupportedProcess.c | 2 | ||||
-rw-r--r-- | unsupported/UnsupportedProcessList.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index b049398d..b63f2670 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -16,7 +16,7 @@ in the source distribution for its full text. }*/ ProcessList* ProcessList_new(UsersTable* usersTable, Hashtable* pidWhiteList, uid_t userId) { - ProcessList* this = calloc(1, sizeof(ProcessList)); + ProcessList* this = xCalloc(1, sizeof(ProcessList)); ProcessList_init(this, Class(Process), usersTable, pidWhiteList, userId); return this; |