aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaExpr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-04-15 11:21:57 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-04-15 11:21:57 +0000
commit5bf47f7d3469a53a1b95b255a49d3d7cc66acd9d (patch)
treedb25308c29bde01abc24a275c9fc4b15cddd0c28 /lib/Sema/SemaExpr.cpp
parent8b8b84dd9196a0a3cf6b34f5d259605e5ec0e143 (diff)
Fix mismatched delete.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@129564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaExpr.cpp')
-rw-r--r--lib/Sema/SemaExpr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Sema/SemaExpr.cpp b/lib/Sema/SemaExpr.cpp
index 2cdd82418c..80946ead64 100644
--- a/lib/Sema/SemaExpr.cpp
+++ b/lib/Sema/SemaExpr.cpp
@@ -772,7 +772,7 @@ Sema::ActOnGenericSelectionExpr(SourceLocation KeyLoc,
ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc,
ControllingExpr, Types, Exprs,
NumAssocs);
- delete Types;
+ delete [] Types;
return ER;
}