winmsg tokenizer state should only be freed by us if it was allocated by us

It may not be allocated on the heap, for example, or malloc may not have been used.