aboutsummaryrefslogtreecommitdiff
path: root/src/ats-tests
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats-tests')
-rw-r--r--src/ats-tests/perf_ats_logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats-tests/perf_ats_logging.c b/src/ats-tests/perf_ats_logging.c
index 6dc5a96b4..823cfaf38 100644
--- a/src/ats-tests/perf_ats_logging.c
+++ b/src/ats-tests/perf_ats_logging.c
@@ -513,7 +513,7 @@ collect_log_now (void)
513 for (c_m = 0; c_m < num_peers; c_m++) 513 for (c_m = 0; c_m < num_peers; c_m++)
514 { 514 {
515 bp = &lp[c_m]; 515 bp = &lp[c_m];
516 mlt = GNUNET_malloc (sizeof (struct PeerLoggingTimestep)); 516 mlt = GNUNET_new (struct PeerLoggingTimestep);
517 GNUNET_CONTAINER_DLL_insert_tail(bp->head, bp->tail, mlt); 517 GNUNET_CONTAINER_DLL_insert_tail(bp->head, bp->tail, mlt);
518 prev_log_mlt = mlt->prev; 518 prev_log_mlt = mlt->prev;
519 519