diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-09-25 22:38:20 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2019-09-25 22:38:20 +0000 |
commit | 8b5783194ced98cabaa585678cacaf7c2e2763d8 (patch) | |
tree | d2576008a27aa3897fe34273e35fca812d8505b4 /llvm/lib/Transforms | |
parent | 69dddfe26836d246cd08126cc39376db02e95626 (diff) | |
download | bcm5719-llvm-8b5783194ced98cabaa585678cacaf7c2e2763d8.tar.gz bcm5719-llvm-8b5783194ced98cabaa585678cacaf7c2e2763d8.zip |
Fix memory leak in DeclTest.
Fixes a leak introduced in r372903, detected on the ASan bot.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/35430/steps/check-clang%20asan/logs/stdio
Direct leak of 192 byte(s) in 1 object(s) allocated from:
#0 0x561d88 in operator new(unsigned long) /b/sanitizer-x86_64-linux-fast/build/llvm-project/compiler-rt/lib/asan/asan_new_delete.cc:105
#1 0x1a48779 in clang::ItaniumMangleContext::create(clang::ASTContext&, clang::DiagnosticsEngine&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/lib/AST/ItaniumMangle.cpp:5134:10
#2 0xdff000 in Decl_AsmLabelAttr_Test::TestBody() /b/sanitizer-x86_64-linux-fast/build/llvm-project/clang/unittests/AST/DeclTest.cpp:97:23
llvm-svn: 372925
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions