commit | f0f353b36f173ea282209070fcdbbedab84c19db | [log] [tgz] |
---|---|---|
author | Manuel Klimek <klimek@google.com> | Mon Jun 03 13:51:33 2013 +0000 |
committer | Manuel Klimek <klimek@google.com> | Mon Jun 03 13:51:33 2013 +0000 |
tree | 77ea2a6c1c92de014ace8b5695a09ec4867baf0a | |
parent | ce912f45660613c1bc49696eb07ff7f8aecffe18 [diff] |
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