summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 14:02:18 +0000
committerdeanm@google.com <deanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-19 14:02:18 +0000
commit59b260797e0201b7b5e4a06c9babb5aabcbed160 (patch)
tree9d4419ed9c79f1036a9a51049b94b913c9c027ac
parent84c0c079f0cee5bee5e7d5b96def03c2bc7cacce (diff)
downloadchromium_src-59b260797e0201b7b5e4a06c9babb5aabcbed160.zip
chromium_src-59b260797e0201b7b5e4a06c9babb5aabcbed160.tar.gz
chromium_src-59b260797e0201b7b5e4a06c9babb5aabcbed160.tar.bz2
Fix a new[] / delete mismatch in a unittest.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1030 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--base/string_util_unittest.cc2
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