aboutsummaryrefslogtreecommitdiff
path: root/src/processor/map_serializers_unittest.cc
diff options
context:
space:
mode:
authorSiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-11-04 02:40:06 +0000
committerSiyangXie@gmail.com <SiyangXie@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-11-04 02:40:06 +0000
commit4adb6f4f7b6e87801eac85aac721846a2293f2df (patch)
treedd4ad4e9a11973a0bb76bbaa249c83bc8cbdf0c1 /src/processor/map_serializers_unittest.cc
parentMake memory allocation/deallocation consistent: use new char[] instead of ope... (diff)
downloadbreakpad-4adb6f4f7b6e87801eac85aac721846a2293f2df.tar.xz
Fix for issue 222001.
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@725 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/map_serializers_unittest.cc')
-rw-r--r--src/processor/map_serializers_unittest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/processor/map_serializers_unittest.cc b/src/processor/map_serializers_unittest.cc
index c20ea0dc..abaef976 100644
--- a/src/processor/map_serializers_unittest.cc
+++ b/src/processor/map_serializers_unittest.cc
@@ -131,7 +131,7 @@ class TestAddressMapSerializer : public ::testing::Test {
}
void TearDown() {
- delete serialized_data_;
+ delete [] serialized_data_;
}
google_breakpad::AddressMap<AddrType, EntryType> address_map_;
@@ -206,7 +206,7 @@ class TestRangeMapSerializer : public ::testing::Test {
}
void TearDown() {
- delete serialized_data_;
+ delete [] serialized_data_;
}
google_breakpad::RangeMap<AddrType, EntryType> range_map_;
@@ -279,7 +279,7 @@ class TestContainedRangeMapSerializer : public ::testing::Test {
}
void TearDown() {
- delete serialized_data_;
+ delete [] serialized_data_;
}
google_breakpad::ContainedRangeMap<AddrType, EntryType> crm_map_;