Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndris Zeila <andris.zeila@zabbix.com>2018-10-22 16:07:31 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2018-10-22 16:07:31 +0300
commit88b9d1d04859b4d6ab71205d9d115ae4850a2b91 (patch)
tree04a742c219d9d41bb12ae3196be7692b991170a7 /tests/zabbix_server/preprocessor
parent3b3bcb51117fa60afe901de4a20a373e4e8bde13 (diff)
........S. [ZBXNEXT-4724] fixed memory leak in cmocka tests
Diffstat (limited to 'tests/zabbix_server/preprocessor')
-rw-r--r--tests/zabbix_server/preprocessor/zbx_item_preproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/zabbix_server/preprocessor/zbx_item_preproc.c b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
index 8c5dd999295..d375d046a2a 100644
--- a/tests/zabbix_server/preprocessor/zbx_item_preproc.c
+++ b/tests/zabbix_server/preprocessor/zbx_item_preproc.c
@@ -195,6 +195,7 @@ void zbx_mock_test_entry(void **state)
zbx_mock_assert_str_eq("error message", zbx_mock_get_parameter_string("out.error"), error);
zbx_variant_clear(&value);
+ zbx_variant_clear(&history_value);
zbx_free(error);
}