From 37befa0743678992d8943ed6549be9690084570c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 10 Mar 2017 17:50:00 +0100 Subject: [PATCH] fix double-free --- src/ats-tests/gnunet-solver-eval.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/ats-tests/gnunet-solver-eval.c b/src/ats-tests/gnunet-solver-eval.c index 0e49a3a32..11e00c60f 100644 --- a/src/ats-tests/gnunet-solver-eval.c +++ b/src/ats-tests/gnunet-solver-eval.c @@ -331,12 +331,14 @@ load_episode (struct Experiment *e, o->pref_type = GNUNET_ATS_PREFERENCE_LATENCY; else { - fprintf (stderr, "Invalid preference in operation %u `%s' in episode %u\n", - op_counter, op, cur->id); + fprintf (stderr, + "Invalid preference in operation %u `%s' in episode %u\n", + op_counter, + op, + cur->id); GNUNET_free (type); GNUNET_free (op_name); GNUNET_free (op); - GNUNET_free (pref); GNUNET_free (sec_name); GNUNET_free_non_null (pref); GNUNET_free (o); -- 2.25.1