Fixup leak of TString
authorDan Sinclair <dsinclair@chromium.org>
Wed, 20 Feb 2019 21:40:13 +0000 (16:40 -0500)
committerDan Sinclair <dsinclair@chromium.org>
Wed, 20 Feb 2019 21:40:13 +0000 (16:40 -0500)
commit0560138e667ce4f9d592cc8eaf037219fb7e8f0e
tree1a3a615fc7ead39a2ee12a4fa1f69fd5e88bd70d
parent58d6905ea01f7c44652eb082d26b662ca811df25
Fixup leak of TString

In decomposeIntrinsic a new TString was being allocated and passed into
a TVariable. That string was leaking. This CL converts the new TString
to call NewPoolTString to allocate from the TString pool.
hlsl/hlslParseHelper.cpp