]> granicus.if.org Git - clang/commit
Fix leak in CXXNewExpr where the SubExprs array would get allocated directly using...
authorTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 22:51:03 +0000 (22:51 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 22:51:03 +0000 (22:51 +0000)
commitad7fe864862305c2f71e047cdf6706ef43aebdc0
treeedb4e8c6f25f6a7b700f1c98a213e3ec367db1a7
parent05efad5f3a234639bb28a2483d38bbb4cb2b2370
Fix leak in CXXNewExpr where the SubExprs array would get allocated directly using 'new[]' instead of the allocator associated with ASTContext.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95933 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprCXX.h
lib/AST/ExprCXX.cpp
lib/Sema/SemaExprCXX.cpp