TS-1475: fix use after free in LogFilterString::wipe_this_entry

Coverity #1214722