Index: src/regexp-stack.cc |
diff --git a/src/regexp-stack.cc b/src/regexp-stack.cc |
index ff9547f3a711ed0f44126aa624d421b734178bb8..fda7253edcee150a6cac9668e0f9db726bd135ce 100644 |
--- a/src/regexp-stack.cc |
+++ b/src/regexp-stack.cc |
@@ -72,7 +72,7 @@ char* RegExpStack::RestoreStack(char* from) { |
void RegExpStack::Reset() { |
- if (thread_local_.memory_size_ > kMinimumStackSize) { |
+ if (thread_local_.memory_size_ >= kMinimumStackSize) { |
DeleteArray(thread_local_.memory_); |
thread_local_ = ThreadLocal(); |
} |