aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-10 17:50:00 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-10 17:50:00 +0100
commit37befa0743678992d8943ed6549be9690084570c (patch)
tree2c402a600cc76824041435f23be329fd81c49b2c /src
parent747694c473ed4a886e7ac4a57bb0f2965674de9a (diff)
downloadgnunet-37befa0743678992d8943ed6549be9690084570c.tar.gz
gnunet-37befa0743678992d8943ed6549be9690084570c.zip
fix double-free
Diffstat (limited to 'src')
-rw-r--r--src/ats-tests/gnunet-solver-eval.c8
1 files 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,
331 o->pref_type = GNUNET_ATS_PREFERENCE_LATENCY; 331 o->pref_type = GNUNET_ATS_PREFERENCE_LATENCY;
332 else 332 else
333 { 333 {
334 fprintf (stderr, "Invalid preference in operation %u `%s' in episode %u\n", 334 fprintf (stderr,
335 op_counter, op, cur->id); 335 "Invalid preference in operation %u `%s' in episode %u\n",
336 op_counter,
337 op,
338 cur->id);
336 GNUNET_free (type); 339 GNUNET_free (type);
337 GNUNET_free (op_name); 340 GNUNET_free (op_name);
338 GNUNET_free (op); 341 GNUNET_free (op);
339 GNUNET_free (pref);
340 GNUNET_free (sec_name); 342 GNUNET_free (sec_name);
341 GNUNET_free_non_null (pref); 343 GNUNET_free_non_null (pref);
342 GNUNET_free (o); 344 GNUNET_free (o);