commit | 6e1c511aba87ab5f9962ae9328014897459f777a | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 25 15:01:34 2013 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Fri Oct 25 15:01:34 2013 +0000 |
tree | 4dbed7a0b1d0582c6b88672622eed35f8914ce3f | |
parent | c7ef7c2de7f809f6407471048dd0302ebbc824ac [diff] |
Call destroy from ~BasicCallGraph. This fix a memory leak found by valgrind. Calling it from the base class destructor would not destroy the BasicCallGraph bits. FIXME: BasicCallGraph is the only thing that inherits from CallGraph. Can we merge the two? git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193412 91177308-0d34-0410-b5e6-96231b3b80d8