aboutsummaryrefslogtreecommitdiff
path: root/src/ats/perf_ats_solver.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-06 12:18:53 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-06 12:18:53 +0000
commit0dcfafed3117b1759f1d4ab3cb5db11952e65061 (patch)
tree91ca5e6e6c86d8fe94d2e48d91de7d81ba6349ea /src/ats/perf_ats_solver.c
parentca0050772a26fc9251d83146ef9b05b0b56069a9 (diff)
downloadgnunet-0dcfafed3117b1759f1d4ab3cb5db11952e65061.tar.gz
gnunet-0dcfafed3117b1759f1d4ab3cb5db11952e65061.zip
-fix misc minor crashes
Diffstat (limited to 'src/ats/perf_ats_solver.c')
-rw-r--r--src/ats/perf_ats_solver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ats/perf_ats_solver.c b/src/ats/perf_ats_solver.c
index 0d75561bc..e07883471 100644
--- a/src/ats/perf_ats_solver.c
+++ b/src/ats/perf_ats_solver.c
@@ -329,6 +329,7 @@ end_now (int res)
329 GNUNET_free_non_null (ph.iterations_results); 329 GNUNET_free_non_null (ph.iterations_results);
330 330
331 GAS_normalization_stop (); 331 GAS_normalization_stop ();
332 GAS_preference_done ();
332 ret = res; 333 ret = res;
333} 334}
334 335
@@ -1317,6 +1318,7 @@ run (void *cls, char * const *args, const char *cfgfile,
1317 ph.env.in_quota[c]); 1318 ph.env.in_quota[c]);
1318 } 1319 }
1319 GAS_normalization_start (); 1320 GAS_normalization_start ();
1321 GAS_preference_init ();
1320 1322
1321 GNUNET_asprintf (&plugin, "libgnunet_plugin_ats_%s", ph.ats_string); 1323 GNUNET_asprintf (&plugin, "libgnunet_plugin_ats_%s", ph.ats_string);
1322 GNUNET_log(GNUNET_ERROR_TYPE_INFO, _("Initializing solver `%s'\n"), ph.ats_string); 1324 GNUNET_log(GNUNET_ERROR_TYPE_INFO, _("Initializing solver `%s'\n"), ph.ats_string);