From 59b260797e0201b7b5e4a06c9babb5aabcbed160 Mon Sep 17 00:00:00 2001 From: "deanm@google.com" Date: Tue, 19 Aug 2008 14:02:18 +0000 Subject: Fix a new[] / delete mismatch in a unittest. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1030 0039d316-1c4b-4281-b951-d872f2087c98 --- base/string_util_unittest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base') diff --git a/base/string_util_unittest.cc b/base/string_util_unittest.cc index 01fac05..88b4b0b 100644 --- a/base/string_util_unittest.cc +++ b/base/string_util_unittest.cc @@ -1066,7 +1066,7 @@ TEST(StringUtilTest, Grow) { #endif EXPECT_STREQ(ref, out.c_str()); - delete ref; + delete[] ref; } // Test the boundary condition for the size of the string_util's -- cgit v1.1