Free MDNodes when the LLVMContext is destroyed. Leak found by Valgrind.
authorJeffrey Yasskin <jyasskin@google.com>
Fri, 5 Mar 2010 05:47:09 +0000 (05:47 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Fri, 5 Mar 2010 05:47:09 +0000 (05:47 +0000)
commitc8cfa30ca5e6ce80e3e6e1dbff5d24d266d43d27
tree521b36c543957d1d535109727fc3cca979183943
parentb5c4239606d3b34b5aac20b93d4c052ac4c39ce7
Free MDNodes when the LLVMContext is destroyed.  Leak found by Valgrind.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97788 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Metadata.h
lib/VMCore/LLVMContextImpl.h
lib/VMCore/Metadata.cpp