[PATCH][tablegen] Eliminate memory leaks in TGParser.cpp

Anton Yartsev anton.yartsev at gmail.com
Tue Aug 5 12:20:11 PDT 2014


Hi all,

I've recently ran the alpha.cplusplus.NewDeleteLeaks checker over the 
LLVM codebase to eliminate false-positives. The checker evolved a number 
of real leaks. I've decided to fix some of them.
Attached is the patch that eliminates memory leaks found in the 
TGParser.cpp. Please review.

-- 
Anton

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TGParser_eliminate_leaks.patch
Type: text/x-diff
Size: 4876 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140805/7045147f/attachment.patch>


More information about the llvm-commits mailing list