diff options
| author | Manuel Klimek <klimek@google.com> | 2013-06-03 13:51:33 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2013-06-03 13:51:33 +0000 |
| commit | f0f353b36f173ea282209070fcdbbedab84c19db (patch) | |
| tree | 77ea2a6c1c92de014ace8b5695a09ec4867baf0a /lib/CodeGen/ModuleBuilder.cpp | |
| parent | ce912f45660613c1bc49696eb07ff7f8aecffe18 (diff) | |
| download | clang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.gz clang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.bz2 clang-f0f353b36f173ea282209070fcdbbedab84c19db.tar.xz | |
Fix memory leak for APValues that do memory allocation.
This patch ensures that APValues are deallocated with the ASTContext by
registering a deallocation function for APValues to the ASTContext.
Original version of the patch by James Dennett.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@183101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions
