[cfe-commits] r129564 - /cfe/trunk/lib/Sema/SemaExpr.cpp
Benjamin Kramer
benny.kra at googlemail.com
Fri Apr 15 04:21:57 PDT 2011
Author: d0k
Date: Fri Apr 15 06:21:57 2011
New Revision: 129564
URL: http://llvm.org/viewvc/llvm-project?rev=129564&view=rev
Log:
Fix mismatched delete.
Modified:
cfe/trunk/lib/Sema/SemaExpr.cpp
Modified: cfe/trunk/lib/Sema/SemaExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaExpr.cpp?rev=129564&r1=129563&r2=129564&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaExpr.cpp (original)
+++ cfe/trunk/lib/Sema/SemaExpr.cpp Fri Apr 15 06:21:57 2011
@@ -772,7 +772,7 @@
ExprResult ER = CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc,
ControllingExpr, Types, Exprs,
NumAssocs);
- delete Types;
+ delete [] Types;
return ER;
}
More information about the cfe-commits
mailing list