.......PS. [ZBX-7534] removed unneeded allocation