...G...PS. [ZBX-8833] replaced "vector->values_num = 0" with "zbx_vector_XXX_clear(vector)"