........S. [ZBXNEXT-1128] added memory deallocation