diff options
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r-- | src/ats/perf_ats_solver.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c index 8e20f4454..2fbadef4d 100644 --- a/src/ats/perf_ats_solver.c +++ b/src/ats/perf_ats_solver.c | |||
@@ -325,8 +325,8 @@ end_now (int res) | |||
325 | ph.stat = NULL; | 325 | ph.stat = NULL; |
326 | } | 326 | } |
327 | 327 | ||
328 | GNUNET_free_non_null (ph.peers); | 328 | GNUNET_free (ph.peers); |
329 | GNUNET_free_non_null (ph.iterations_results); | 329 | GNUNET_free (ph.iterations_results); |
330 | 330 | ||
331 | GAS_normalization_stop (); | 331 | GAS_normalization_stop (); |
332 | GAS_preference_done (); | 332 | GAS_preference_done (); |
@@ -1090,13 +1090,13 @@ write_all_iterations (void) | |||
1090 | if ((NULL != f_full) && (GNUNET_SYSERR == GNUNET_DISK_file_close (f_full))) | 1090 | if ((NULL != f_full) && (GNUNET_SYSERR == GNUNET_DISK_file_close (f_full))) |
1091 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot close log file `%s'\n", | 1091 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot close log file `%s'\n", |
1092 | data_fn_full); | 1092 | data_fn_full); |
1093 | GNUNET_free_non_null (data_fn_full); | 1093 | GNUNET_free (data_fn_full); |
1094 | 1094 | ||
1095 | if ((NULL != f_update) && (GNUNET_SYSERR == GNUNET_DISK_file_close ( | 1095 | if ((NULL != f_update) && (GNUNET_SYSERR == GNUNET_DISK_file_close ( |
1096 | f_update))) | 1096 | f_update))) |
1097 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot close log file `%s'\n", | 1097 | GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Cannot close log file `%s'\n", |
1098 | data_fn_update); | 1098 | data_fn_update); |
1099 | GNUNET_free_non_null (data_fn_update); | 1099 | GNUNET_free (data_fn_update); |
1100 | } | 1100 | } |
1101 | 1101 | ||
1102 | 1102 | ||
@@ -1115,7 +1115,7 @@ do_delete_address (void *cls, | |||
1115 | pid, | 1115 | pid, |
1116 | cur)); | 1116 | cur)); |
1117 | ph.sf->s_del (ph.sf->cls, cur); | 1117 | ph.sf->s_del (ph.sf->cls, cur); |
1118 | GNUNET_free_non_null (cur->atsi); | 1118 | GNUNET_free (cur->atsi); |
1119 | GNUNET_free (cur); | 1119 | GNUNET_free (cur); |
1120 | return GNUNET_OK; | 1120 | return GNUNET_OK; |
1121 | } | 1121 | } |
@@ -1427,7 +1427,7 @@ run (void *cls, char *const *args, const char *cfgfile, | |||
1427 | if (0 == c2) | 1427 | if (0 == c2) |
1428 | continue; | 1428 | continue; |
1429 | if (ph.measure_updates) | 1429 | if (ph.measure_updates) |
1430 | GNUNET_free_non_null ( | 1430 | GNUNET_free ( |
1431 | ph.iterations_results[c].update_results_array[c2]); | 1431 | ph.iterations_results[c].update_results_array[c2]); |
1432 | GNUNET_free (ph.iterations_results[c].results_array[c2]); | 1432 | GNUNET_free (ph.iterations_results[c].results_array[c2]); |
1433 | } | 1433 | } |