diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-05 16:32:34 +0200 |
commit | e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch) | |
tree | 61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/ats-tests/ats-testing-experiment.c | |
parent | 1437556645417e6302862845e7ebcbd4c9908357 (diff) | |
download | gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip |
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/ats-tests/ats-testing-experiment.c')
-rw-r--r-- | src/ats-tests/ats-testing-experiment.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ats-tests/ats-testing-experiment.c b/src/ats-tests/ats-testing-experiment.c index fa379200f..9f8db1be4 100644 --- a/src/ats-tests/ats-testing-experiment.c +++ b/src/ats-tests/ats-testing-experiment.c | |||
@@ -88,8 +88,8 @@ free_experiment (struct Experiment *e) | |||
88 | GNUNET_free (cur); | 88 | GNUNET_free (cur); |
89 | } | 89 | } |
90 | 90 | ||
91 | GNUNET_free_non_null (e->name); | 91 | GNUNET_free (e->name); |
92 | GNUNET_free_non_null (e->cfg_file); | 92 | GNUNET_free (e->cfg_file); |
93 | GNUNET_free (e); | 93 | GNUNET_free (e); |
94 | } | 94 | } |
95 | 95 | ||
@@ -332,7 +332,7 @@ load_episode (struct Experiment *e, | |||
332 | GNUNET_free (type); | 332 | GNUNET_free (type); |
333 | GNUNET_free (op_name); | 333 | GNUNET_free (op_name); |
334 | GNUNET_free (op); | 334 | GNUNET_free (op); |
335 | GNUNET_free_non_null (pref); | 335 | GNUNET_free (pref); |
336 | GNUNET_free (o); | 336 | GNUNET_free (o); |
337 | GNUNET_free (sec_name); | 337 | GNUNET_free (sec_name); |
338 | return GNUNET_SYSERR; | 338 | return GNUNET_SYSERR; |
@@ -350,7 +350,7 @@ load_episode (struct Experiment *e, | |||
350 | GNUNET_free (type); | 350 | GNUNET_free (type); |
351 | GNUNET_free (op_name); | 351 | GNUNET_free (op_name); |
352 | GNUNET_free (op); | 352 | GNUNET_free (op); |
353 | GNUNET_free_non_null (pref); | 353 | GNUNET_free (pref); |
354 | GNUNET_free (o); | 354 | GNUNET_free (o); |
355 | GNUNET_free (sec_name); | 355 | GNUNET_free (sec_name); |
356 | return GNUNET_SYSERR; | 356 | return GNUNET_SYSERR; |
@@ -384,7 +384,7 @@ load_episode (struct Experiment *e, | |||
384 | fprintf (stderr, "Found operation %u in episode %u: %s [%llu]->[%llu]\n", | 384 | fprintf (stderr, "Found operation %u in episode %u: %s [%llu]->[%llu]\n", |
385 | op_counter, cur->id, print_op (o->type), o->src_id, o->dest_id); | 385 | op_counter, cur->id, print_op (o->type), o->src_id, o->dest_id); |
386 | 386 | ||
387 | GNUNET_free_non_null (type); | 387 | GNUNET_free (type); |
388 | GNUNET_free (op); | 388 | GNUNET_free (op); |
389 | 389 | ||
390 | GNUNET_CONTAINER_DLL_insert (cur->head, cur->tail, o); | 390 | GNUNET_CONTAINER_DLL_insert (cur->head, cur->tail, o); |