diff options
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r-- | src/ats/perf_ats_solver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c index 0cfc72c69..89d0d82e2 100644 --- a/src/ats/perf_ats_solver.c +++ b/src/ats/perf_ats_solver.c | |||
@@ -456,7 +456,7 @@ solver_info_cb (void *cls, | |||
456 | if ((GAS_STAT_SUCCESS == stat) && (NULL == ph.current_result)) | 456 | if ((GAS_STAT_SUCCESS == stat) && (NULL == ph.current_result)) |
457 | { | 457 | { |
458 | /* Create new result */ | 458 | /* Create new result */ |
459 | tmp = GNUNET_malloc (sizeof (struct Result)); | 459 | tmp = GNUNET_new (struct Result); |
460 | ph.current_result = tmp; | 460 | ph.current_result = tmp; |
461 | GNUNET_CONTAINER_DLL_insert_tail(ph.head, ph.tail, tmp); | 461 | GNUNET_CONTAINER_DLL_insert_tail(ph.head, ph.tail, tmp); |
462 | ph.current_result->addresses = ph.current_a; | 462 | ph.current_result->addresses = ph.current_a; |