diff options
author | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-02-09 15:26:00 +0300 |
---|---|---|
committer | Glebs Ivanovskis <git-no-reply@zabbix.com> | 2017-02-09 15:26:00 +0300 |
commit | 7e8de11f938fb51d2859141735f06f76931b4957 (patch) | |
tree | 013fa66d73076a4a8da82b08f299efc84a46a359 /include/memalloc.h | |
parent | 73d789c423710a012fae1d9e5d6a76ea22ef588a (diff) |
...G...PS. [ZBXNEXT-3687] bubbled up exit() calls from IPC functions to the main() functions and main process threads
Diffstat (limited to 'include/memalloc.h')
-rw-r--r-- | include/memalloc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/memalloc.h b/include/memalloc.h index ce7f46eb453..3130bcca4bd 100644 --- a/include/memalloc.h +++ b/include/memalloc.h @@ -45,7 +45,8 @@ typedef struct } zbx_mem_info_t; -void zbx_mem_create(zbx_mem_info_t **info, zbx_uint64_t size, const char *descr, const char *param, int allow_oom); +int zbx_mem_create(zbx_mem_info_t **info, zbx_uint64_t size, const char *descr, const char *param, int allow_oom, + char **error); #define zbx_mem_malloc(info, old, size) __zbx_mem_malloc(__FILE__, __LINE__, info, old, size) #define zbx_mem_realloc(info, old, size) __zbx_mem_realloc(__FILE__, __LINE__, info, old, size) |