...G...... [ZBX-8236] fixed few memory leaks in Windows agent
           [merge ^/branches/2.2 -c r48076]