diff options
Diffstat (limited to 'src/transport/plugin_transport_http_new.c')
-rw-r--r-- | src/transport/plugin_transport_http_new.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_http_new.c b/src/transport/plugin_transport_http_new.c index 37fae8972..17b2879f6 100644 --- a/src/transport/plugin_transport_http_new.c +++ b/src/transport/plugin_transport_http_new.c | |||
@@ -404,6 +404,8 @@ void | |||
404 | delete_session (struct Session *s) | 404 | delete_session (struct Session *s) |
405 | { | 405 | { |
406 | GNUNET_free (s->addr); | 406 | GNUNET_free (s->addr); |
407 | GNUNET_free_non_null(s->server_recv); | ||
408 | GNUNET_free_non_null(s->server_send); | ||
407 | GNUNET_free (s); | 409 | GNUNET_free (s); |
408 | } | 410 | } |
409 | 411 | ||
@@ -972,7 +974,10 @@ LIBGNUNET_PLUGIN_TRANSPORT_DONE (void *cls) | |||
972 | while (s != NULL) | 974 | while (s != NULL) |
973 | { | 975 | { |
974 | struct Session *t = s->next; | 976 | struct Session *t = s->next; |
975 | 977 | #if DEBUG_HTTP | |
978 | GNUNET_log_from (GNUNET_ERROR_TYPE_DEBUG, plugin->name, | ||
979 | "Disconnecting `%s' \n", GNUNET_i2s (&s->target)); | ||
980 | #endif | ||
976 | if (s->inbound == GNUNET_NO) | 981 | if (s->inbound == GNUNET_NO) |
977 | GNUNET_assert (GNUNET_OK == client_disconnect (s)); | 982 | GNUNET_assert (GNUNET_OK == client_disconnect (s)); |
978 | else | 983 | else |