]> granicus.if.org Git - clang/commit
Allocate the SubExprs array in ObjCMessageExpr using the allocator associated with...
authorTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 22:41:21 +0000 (22:41 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 11 Feb 2010 22:41:21 +0000 (22:41 +0000)
commiteb3b324800598cc3d5385fbad95ae5cff2c79113
tree6ece7c4915017211d08b7947ccde32d44225d7c8
parentbdf73d890598fa0220a3980f8529acdc149c13d6
Allocate the SubExprs array in ObjCMessageExpr using the allocator associated with ASTContext.  This fixes yet another leak (<rdar://problem/7639260>).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@95930 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/ExprObjC.h
lib/AST/Expr.cpp
lib/Frontend/RewriteObjC.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprObjC.cpp