JFJochReceiver: Use malloc (no need to init to zero)
This commit is contained in:
@@ -43,7 +43,7 @@ JFJochReceiver::JFJochReceiver(const JFJochProtoBuf::ReceiverInput &settings,
|
||||
indexing_solution_per_file(experiment.GetDataFileCount()),
|
||||
numa_policy(in_numa_policy)
|
||||
{
|
||||
send_buffer = (uint8_t *) calloc(send_buffer_size, send_buffer_count);
|
||||
send_buffer = (uint8_t *) malloc(send_buffer_size * send_buffer_count);
|
||||
|
||||
try {
|
||||
if (settings.has_calibration()) {
|
||||
|
||||
Reference in New Issue
Block a user