Use malloc instead of calloc for MemoryDumper::AllocateBuffer

pull/167/head
Jonathan G Rennison 4 years ago
parent a16d0b71b3
commit 1aefc9d010

@ -153,7 +153,7 @@ void MemoryDumper::AllocateBuffer()
return;
}
this->FinaliseBlock();
this->buf = CallocT<byte>(MEMORY_CHUNK_SIZE);
this->buf = MallocT<byte>(MEMORY_CHUNK_SIZE);
this->blocks.emplace_back(this->buf);
this->bufe = this->buf + MEMORY_CHUNK_SIZE;
}

Loading…
Cancel
Save