...G...... [ZBX-8545] moved *found = 0 upward, because it could have been left uninitialized in case of NLMSG_DONE
...G...... [ZBX-8545] removed unnecessary initializations and string allocations