fixed memory leak
Merge pull request #112 from lstopar/TStr

fixed memory leak