aboutsummaryrefslogtreecommitdiff
path: root/src/ats/gnunet-ats-solver-eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/gnunet-ats-solver-eval.c')
-rw-r--r--src/ats/gnunet-ats-solver-eval.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/ats/gnunet-ats-solver-eval.c b/src/ats/gnunet-ats-solver-eval.c
index 6a014357e..25b963532 100644
--- a/src/ats/gnunet-ats-solver-eval.c
+++ b/src/ats/gnunet-ats-solver-eval.c
@@ -1307,17 +1307,17 @@ free_experiment (struct Experiment *e)
1307 for (cur_o = next_o; NULL != cur_o; cur_o = next_o) 1307 for (cur_o = next_o; NULL != cur_o; cur_o = next_o)
1308 { 1308 {
1309 next_o = cur_o->next; 1309 next_o = cur_o->next;
1310 GNUNET_free_non_null (cur_o->address); 1310 GNUNET_free (cur_o->address);
1311 GNUNET_free_non_null (cur_o->plugin); 1311 GNUNET_free (cur_o->plugin);
1312 GNUNET_free (cur_o); 1312 GNUNET_free (cur_o);
1313 } 1313 }
1314 GNUNET_free (cur); 1314 GNUNET_free (cur);
1315 } 1315 }
1316 1316
1317 GNUNET_free_non_null (e->name); 1317 GNUNET_free (e->name);
1318 GNUNET_free_non_null (e->log_prefix); 1318 GNUNET_free (e->log_prefix);
1319 GNUNET_free_non_null (e->log_output_dir); 1319 GNUNET_free (e->log_output_dir);
1320 GNUNET_free_non_null (e->cfg_file); 1320 GNUNET_free (e->cfg_file);
1321 GNUNET_free (e); 1321 GNUNET_free (e);
1322} 1322}
1323 1323
@@ -1967,7 +1967,7 @@ load_op_start_set_property (struct GNUNET_ATS_TEST_Operation *o,
1967 fprintf (stderr, "Missing property in operation %u `%s' in episode %u\n", 1967 fprintf (stderr, "Missing property in operation %u `%s' in episode %u\n",
1968 op_counter, op_name, e->id); 1968 op_counter, op_name, e->id);
1969 GNUNET_free (op_name); 1969 GNUNET_free (op_name);
1970 GNUNET_free_non_null (prop); 1970 GNUNET_free (prop);
1971 return GNUNET_SYSERR; 1971 return GNUNET_SYSERR;
1972 } 1972 }
1973 1973
@@ -2038,7 +2038,7 @@ load_op_stop_set_property (struct GNUNET_ATS_TEST_Operation *o,
2038 fprintf (stderr, "Missing property in operation %u `%s' in episode `%s'\n", 2038 fprintf (stderr, "Missing property in operation %u `%s' in episode `%s'\n",
2039 op_counter, "STOP_SET_PROPERTY", op_name); 2039 op_counter, "STOP_SET_PROPERTY", op_name);
2040 GNUNET_free (op_name); 2040 GNUNET_free (op_name);
2041 GNUNET_free_non_null (pref); 2041 GNUNET_free (pref);
2042 return GNUNET_SYSERR; 2042 return GNUNET_SYSERR;
2043 } 2043 }
2044 2044
@@ -2047,7 +2047,7 @@ load_op_stop_set_property (struct GNUNET_ATS_TEST_Operation *o,
2047 fprintf (stderr, "Invalid property in operation %u `%s' in episode %u\n", 2047 fprintf (stderr, "Invalid property in operation %u `%s' in episode %u\n",
2048 op_counter, op_name, e->id); 2048 op_counter, op_name, e->id);
2049 GNUNET_free (op_name); 2049 GNUNET_free (op_name);
2050 GNUNET_free_non_null (pref); 2050 GNUNET_free (pref);
2051 return GNUNET_SYSERR; 2051 return GNUNET_SYSERR;
2052 } 2052 }
2053 2053
@@ -2419,7 +2419,7 @@ enforce_del_address (struct GNUNET_ATS_TEST_Operation *op)
2419 } 2419 }
2420 GNUNET_CONTAINER_DLL_remove (p->addr_head, p->addr_tail, a); 2420 GNUNET_CONTAINER_DLL_remove (p->addr_head, p->addr_tail, a);
2421 2421
2422 GNUNET_free_non_null (a->ats_addr->atsi); 2422 GNUNET_free (a->ats_addr->atsi);
2423 GNUNET_free (a->ats_addr); 2423 GNUNET_free (a->ats_addr);
2424 GNUNET_free (a); 2424 GNUNET_free (a);
2425} 2425}