IR: Fix unit test memory leak reported by ASan
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 22:46:15 +0000 (22:46 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Mon, 12 Jan 2015 22:46:15 +0000 (22:46 +0000)
commit5e3ba22b3a31f0d9e9f2ec8fcc3e44855a45308c
tree41642202530da203994729f9148b19903a0577ec
parent3d6fed1a57ee16a1c6f501833f8468ae4e1e0c53
IR: Fix unit test memory leak reported by ASan

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-fast/builds/603/steps/check-llvm%20asan/logs/stdio

Thanks Alexey for pointing me to this!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225721 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/IR/MetadataTest.cpp