diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-24 17:22:36 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-24 17:22:36 +0000 |
commit | 2a04f1cf72d57cf5d74b24e785c04f7a3fc3398f (patch) | |
tree | 3c168645b817175836f2c5fb718898a64cbe17f3 /lib | |
parent | ba97b6ea0e8933ab801b0d06bba133836627794a (diff) |
Fix mismatched new[]/delete[].
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@142803 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 7036682eb5..3da4bd1f98 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -309,7 +309,7 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy, getContext().getFunctionType(RetTy, ArgsArray, NumArgs, FunctionProtoType::ExtProtoInfo()); - delete ArgsArray; + delete[] ArgsArray; DI->setLocation(StartLoc); DI->EmitFunctionStart(GD, FnType, CurFn, Builder); |