JFJochReceiver: Use malloc (no need to init to zero)

This commit is contained in:
2023-08-04 13:02:55 +02:00
parent f4b01ed62a
commit defa97c88b
+1 -1
View File
@@ -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()) {