summaryrefslogtreecommitdiffstats
path: root/runtime/interpreter
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-04-27 15:19:41 -0700
committerChristopher Ferris <cferris@google.com>2015-05-04 12:10:07 -0700
commit241a9588c6d7d0fcb4c92da40c7141863930083a (patch)
tree4a6868893dc742f6322775d198a2305f645f2f3f /runtime/interpreter
parenta93b104b47da67eaa50f8a6b7280cc6c438ef37b (diff)
downloadart-241a9588c6d7d0fcb4c92da40c7141863930083a.tar.gz
art-241a9588c6d7d0fcb4c92da40c7141863930083a.tar.bz2
art-241a9588c6d7d0fcb4c92da40c7141863930083a.zip
Fix mismatched new[]/delete.
Another two cases where a new[] is used but only a delete occurs. Bug: 18202869 Change-Id: If68264807150f3a9783e44ef8823cc366bff8df2
Diffstat (limited to 'runtime/interpreter')
-rw-r--r--runtime/interpreter/interpreter.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/interpreter/interpreter.cc b/runtime/interpreter/interpreter.cc
index 423b9520c9..a37aee5f9b 100644
--- a/runtime/interpreter/interpreter.cc
+++ b/runtime/interpreter/interpreter.cc
@@ -423,7 +423,7 @@ void EnterInterpreterFromDeoptimize(Thread* self, ShadowFrame* shadow_frame, JVa
}
ShadowFrame* old_frame = shadow_frame;
shadow_frame = shadow_frame->GetLink();
- delete old_frame;
+ ShadowFrame::DeleteDeoptimizedFrame(old_frame);
}
ret_val->SetJ(value.GetJ());
}