Revision: 12812
Author: u
...@chromium.org
Date: Thu Oct 25 04:10:13 2012
Log: Fix memory leak in RegExpStack.
R=yang...@chromium.org
Review URL: https://chromiumcodereview.appspot.com/11275037
http://code.google.com/p/v8/source/detail?r=12812
Modified:
/branches/bleeding_edge/src/regexp-stack.cc
=======================================
--- /branches/bleeding_edge/src/regexp-stack.cc Fri Mar 18 13:35:07 2011
+++ /branches/bleeding_edge/src/regexp-stack.cc Thu Oct 25 04:10:13 2012
@@ -72,7 +72,7 @@
void RegExpStack::Reset() {
- if (thread_local_.memory_size_ > kMinimumStackSize) {
+ if (thread_local_.memory_size_ >= kMinimumStackSize) {
DeleteArray(thread_local_.memory_);
thread_local_ = ThreadLocal();
}