aboutsummaryrefslogtreecommitdiff
path: root/src/ats
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-12-06 17:32:52 +0100
committerChristian Grothoff <christian@grothoff.org>2018-12-06 17:32:52 +0100
commitaa6e0a1941f98ed90947aa5e3671438cb381995c (patch)
tree65e694dfcecc3990abaae6d3775d42a6463a377b /src/ats
parent630484a2b644ce3d13093d147a1877abf07fd193 (diff)
downloadgnunet-aa6e0a1941f98ed90947aa5e3671438cb381995c.tar.gz
gnunet-aa6e0a1941f98ed90947aa5e3671438cb381995c.zip
completing gnunet-service-ats-new (in theory)
Diffstat (limited to 'src/ats')
-rw-r--r--src/ats/gnunet-service-ats-new.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ats/gnunet-service-ats-new.c b/src/ats/gnunet-service-ats-new.c
index c4ce4e0bb..d3b2f1ead 100644
--- a/src/ats/gnunet-service-ats-new.c
+++ b/src/ats/gnunet-service-ats-new.c
@@ -20,9 +20,6 @@
20 * @brief ats service 20 * @brief ats service
21 * @author Matthias Wachs 21 * @author Matthias Wachs
22 * @author Christian Grothoff 22 * @author Christian Grothoff
23 *
24 * TODO:
25 * - implement unloading of ATS plugins
26 */ 23 */
27#include "platform.h" 24#include "platform.h"
28#include "gnunet_util_lib.h" 25#include "gnunet_util_lib.h"
@@ -655,6 +652,12 @@ cleanup_task (void *cls)
655 GNUNET_NO); 652 GNUNET_NO);
656 stats = NULL; 653 stats = NULL;
657 } 654 }
655 if (NULL != plugin)
656 {
657 GNUNET_PLUGIN_unload (plugin_name,
658 plugin);
659 plugin = NULL;
660 }
658 if (NULL != plugin_name) 661 if (NULL != plugin_name)
659 { 662 {
660 GNUNET_free (plugin_name); 663 GNUNET_free (plugin_name);