diff options
Diffstat (limited to 'base')
-rw-r--r-- | base/string_util_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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 |