diff options
author | Christopher Ferris <cferris@google.com> | 2015-04-27 15:19:41 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-05-04 12:10:07 -0700 |
commit | 241a9588c6d7d0fcb4c92da40c7141863930083a (patch) | |
tree | 4a6868893dc742f6322775d198a2305f645f2f3f /runtime/interpreter | |
parent | a93b104b47da67eaa50f8a6b7280cc6c438ef37b (diff) | |
download | art-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.cc | 2 |
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()); } |