diff options
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/plugin_transport_unix.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index 2aa987914..fa491dfcb 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c | |||
@@ -1123,8 +1123,10 @@ libgnunet_plugin_transport_unix_done (void *cls) | |||
1123 | GNUNET_CONTAINER_multihashmap_iterate (plugin->session_map, &get_session_delete_it, plugin); | 1123 | GNUNET_CONTAINER_multihashmap_iterate (plugin->session_map, &get_session_delete_it, plugin); |
1124 | GNUNET_CONTAINER_multihashmap_destroy (plugin->session_map); | 1124 | GNUNET_CONTAINER_multihashmap_destroy (plugin->session_map); |
1125 | 1125 | ||
1126 | GNUNET_NETWORK_fdset_destroy (plugin->rs); | 1126 | if (NULL != plugin->rs) |
1127 | GNUNET_NETWORK_fdset_destroy (plugin->ws); | 1127 | GNUNET_NETWORK_fdset_destroy (plugin->rs); |
1128 | if (NULL != plugin->ws) | ||
1129 | GNUNET_NETWORK_fdset_destroy (plugin->ws); | ||
1128 | GNUNET_free (plugin->unix_socket_path); | 1130 | GNUNET_free (plugin->unix_socket_path); |
1129 | GNUNET_free (plugin); | 1131 | GNUNET_free (plugin); |
1130 | GNUNET_free (api); | 1132 | GNUNET_free (api); |