diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-01-08 20:49:27 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-01-08 20:49:27 +0000 |
commit | 6321c0aaa3523f3d569d5fbe5820b3fa250e2585 (patch) | |
tree | fc8bb009175d41d3f3bc46ef7ce4798d5c55eafa /lib/CodeGen/CodeGenFunction.cpp | |
parent | 25553512a50e8c79fb1daae4b0398086be338554 (diff) |
Fix ObjCInterfaceDecl::Destroy and ObjCProtocolDecl::Destroy to iterate and destroy all contained ObjCMethodDecls in one sweep. This fixes a use-after-free error found by valgrind.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61943 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions