diff options
author | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2013-12-19 06:00:23 +0000 |
commit | e0ca7357cd0bfedc5c29cb731b56279fef8da059 (patch) | |
tree | ecfd47cf59bc00e656b53fd59c58f5038e342d65 /src/ats-tests | |
parent | 92fd84dc7ef98452f848a62677c61a2b80b5835e (diff) | |
download | gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.tar.gz gnunet-e0ca7357cd0bfedc5c29cb731b56279fef8da059.zip |
malloc -> new
Diffstat (limited to 'src/ats-tests')
-rw-r--r-- | src/ats-tests/perf_ats_logging.c | 2 |
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 | ||