diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2021-07-23 10:08:37 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2021-07-23 12:10:38 +0300 |
commit | 26f0826bc8ed1f11ed894be7558fed90031db36c (patch) | |
tree | e4c5ef70ba50365c0e32102c3f2f42a1cc9e3c83 /include/zbxjson.h | |
parent | daec995ef55f77d0fbb96e854b8a59772db3422f (diff) |
........S. [ZBX-19715] fixed high memory usage in trappers and proxy pollers when sending configuration to Zabbix proxy
........S. [ZBX-19715] fixed high memory usage in trappers and proxy pollers when sending configuration to Zabbix proxy
* commit '625a5c96e635f2cf05b89e2c3d30e8ee2f0db9bc':
........S. [ZBX-19715] removed redundant code
........S. [ZBX-19715] improved code
.D........ [ZBX-19715] added ChangeLog entry
........S. [ZBX-19715] fixed high memory usage when sending configuration to Zabbix proxy
(cherry picked from commit 3ae7f90d1ffed6b293af4246e5b79be9c1f0aab2)
(cherry picked from commit 0756e4c212c2aba79693b9e6837d10d34e6a9ded)
Diffstat (limited to 'include/zbxjson.h')
-rw-r--r-- | include/zbxjson.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/zbxjson.h b/include/zbxjson.h index ba766305d69..ac9dfcff388 100644 --- a/include/zbxjson.h +++ b/include/zbxjson.h @@ -258,6 +258,7 @@ const char *zbx_json_strerror(void); void zbx_json_init(struct zbx_json *j, size_t allocate); void zbx_json_initarray(struct zbx_json *j, size_t allocate); void zbx_json_clean(struct zbx_json *j); +void zbx_json_cleanarray(struct zbx_json *j); void zbx_json_free(struct zbx_json *j); void zbx_json_addobject(struct zbx_json *j, const char *name); void zbx_json_addarray(struct zbx_json *j, const char *name); |