diff options
Diffstat (limited to 'src/peerinfo-tool/plugin_rest_peerinfo.c')
-rw-r--r-- | src/peerinfo-tool/plugin_rest_peerinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/peerinfo-tool/plugin_rest_peerinfo.c b/src/peerinfo-tool/plugin_rest_peerinfo.c index 1d7461b1a..669330b39 100644 --- a/src/peerinfo-tool/plugin_rest_peerinfo.c +++ b/src/peerinfo-tool/plugin_rest_peerinfo.c | |||
@@ -800,6 +800,8 @@ libgnunet_plugin_rest_peerinfo_done (void *cls) | |||
800 | struct Plugin *plugin = api->cls; | 800 | struct Plugin *plugin = api->cls; |
801 | 801 | ||
802 | plugin->cfg = NULL; | 802 | plugin->cfg = NULL; |
803 | if (NULL != peerinfo_handle) | ||
804 | GNUNET_PEERINFO_disconnect (peerinfo_handle); | ||
803 | 805 | ||
804 | GNUNET_free (allow_methods); | 806 | GNUNET_free (allow_methods); |
805 | GNUNET_free (api); | 807 | GNUNET_free (api); |