diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 15:01:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-10-25 15:01:34 +0000 |
commit | 64cc1b0043a499b15e6d6d6ca99ecbf698ea86b1 (patch) | |
tree | f81146d49b0c23c19a974b2d00b75c361fdfc943 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a59daaef3e8c9d8adc2e0ffed220dc8695896569 (diff) | |
download | llvm-64cc1b0043a499b15e6d6d6ca99ecbf698ea86b1.zip llvm-64cc1b0043a499b15e6d6d6ca99ecbf698ea86b1.tar.gz llvm-64cc1b0043a499b15e6d6d6ca99ecbf698ea86b1.tar.bz2 |
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?
llvm-svn: 193412
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions