diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-06 19:12:17 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-08-06 19:12:17 +0200 |
commit | 8c48060e129877767f58a8403deba8a4beaeea24 (patch) | |
tree | 79cbe944d851c7c7536b63641eb36cb96a87b4b5 /src/peerinfo-tool | |
parent | b12644f83637c2508a11927490ae0b94d8ee4095 (diff) | |
download | gnunet-8c48060e129877767f58a8403deba8a4beaeea24.tar.gz gnunet-8c48060e129877767f58a8403deba8a4beaeea24.zip |
-fix rest plugin issues
Diffstat (limited to 'src/peerinfo-tool')
-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); |