Use malloc instead of calloc for MemoryDumper::AllocateBuffer

This commit is contained in:
Jonathan G Rennison
2020-06-29 17:20:27 +01:00
parent a16d0b71b3
commit 1aefc9d010

View File

@@ -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;
}