Merge "Use delete[] to de-allocate pointers from new[]"
This commit is contained in:
commit
8cd62808d4
1 changed files with 2 additions and 2 deletions
|
@ -974,8 +974,8 @@ void RunReadTest(Backtrace* backtrace, uintptr_t read_addr) {
|
|||
<< "Offset at " << i << " length " << j << " wrote too much data";
|
||||
}
|
||||
}
|
||||
delete data;
|
||||
delete expected;
|
||||
delete[] data;
|
||||
delete[] expected;
|
||||
}
|
||||
|
||||
TEST(libbacktrace, thread_read) {
|
||||
|
|
Loading…
Reference in a new issue