Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/tool/malloc_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ int main(

while(true) {
// Allocate the number of bytes, and de-allocate them again.
std::unique_ptr<int8_t>(new int8_t[nr_bytes]);
std::unique_ptr<int8_t[]>(new int8_t[nr_bytes]);
}
}
catch(std::exception const& exception) {
Expand Down
Loading