summaryrefslogtreecommitdiff
path: root/src/ats/perf_ats_solver.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r--src/ats/perf_ats_solver.c2
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,
if ((GAS_STAT_SUCCESS == stat) && (NULL == ph.current_result))
{
/* Create new result */
- tmp = GNUNET_malloc (sizeof (struct Result));
+ tmp = GNUNET_new (struct Result);
ph.current_result = tmp;
GNUNET_CONTAINER_DLL_insert_tail(ph.head, ph.tail, tmp);
ph.current_result->addresses = ph.current_a;