........S. [ZBXNEXT-2519] fixed memory leak during mediatype delete operation if security check failed