Make memory allocation/deallocation consistent: use new char[] instead of operator new()

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@724 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
SiyangXie@gmail.com
2010-11-03 23:54:01 +00:00
parent 3b4ac42ff8
commit bbd8e82a7f
6 changed files with 26 additions and 28 deletions

View File

@@ -59,7 +59,7 @@ class TestStdMapSerializer : public ::testing::Test {
}
void TearDown() {
delete serialized_data_;
delete [] serialized_data_;
}
std::map<AddrType, EntryType> std_map_;