Fix memory leak by storing returned pointer in std::unique_ptr
authorRichard Trieu <rtrieu@google.com>
Tue, 30 Aug 2016 21:12:48 +0000 (21:12 +0000)
committerRichard Trieu <rtrieu@google.com>
Tue, 30 Aug 2016 21:12:48 +0000 (21:12 +0000)
commit070937a1d47b76cbf4fcacee25efd86c9d3ffd4c
tree88dca99de39cf4d2d4f12eeb47330061f35f8c2f
parentcceb92a0754f9c59a82d9fa9c5312826eb94a642
Fix memory leak by storing returned pointer in std::unique_ptr

llvm-svn: 280157
clang/lib/Tooling/Tooling.cpp