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:
@@ -59,7 +59,7 @@ class TestStdMapSerializer : public ::testing::Test {
|
||||
}
|
||||
|
||||
void TearDown() {
|
||||
delete serialized_data_;
|
||||
delete [] serialized_data_;
|
||||
}
|
||||
|
||||
std::map<AddrType, EntryType> std_map_;
|
||||
|
||||
Reference in New Issue
Block a user