From 5e9c1704d96cf97074abd86b9f3edb1a74ea1183 Mon Sep 17 00:00:00 2001 From: "lrn@chromium.org" Date: Fri, 5 Nov 2010 13:12:14 +0000 Subject: [PATCH] Fix bug introduced when extracting utils. TBR=ager@chromium.org Review URL: http://codereview.chromium.org/4535004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@5773 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/v8utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v8utils.h b/src/v8utils.h index 3f272dd..a907c9f 100644 --- a/src/v8utils.h +++ b/src/v8utils.h @@ -184,7 +184,7 @@ class StringBuilder { StringBuilder(char* buffer, int size) : buffer_(buffer, size), position_(0) { } - ~StringBuilder() { if (!is_finalized()) buffer_.Dispose(); } + ~StringBuilder() { if (!is_finalized()) Finalize(); } int size() const { return buffer_.length(); } -- 2.7.4