diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2012-05-02 08:04:56 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2012-05-02 08:04:56 +0000 |
commit | fe2b606b2ecb76fe60ffba17cc9cb1754d898096 (patch) | |
tree | 283a8b10a126410bee8295b46104061b37039759 /src/transport | |
parent | e4e9a4b9cba0682413725675fe84b3a00b4e6be8 (diff) | |
download | gnunet-fe2b606b2ecb76fe60ffba17cc9cb1754d898096.tar.gz gnunet-fe2b606b2ecb76fe60ffba17cc9cb1754d898096.zip |
- fix for bug #0002291
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); |