Fix deallocating shell argument in tokenize()