...G...... [ZBX-8236] fix memory leak when processing invalid regular expressions in Windows