gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r21218 - gnunet/src/transport


From: gnunet
Subject: [GNUnet-SVN] r21218 - gnunet/src/transport
Date: Wed, 2 May 2012 10:04:56 +0200

Author: wachs
Date: 2012-05-02 10:04:56 +0200 (Wed, 02 May 2012)
New Revision: 21218

Modified:
   gnunet/src/transport/plugin_transport_unix.c
Log:
- fix for bug #0002291


Modified: gnunet/src/transport/plugin_transport_unix.c
===================================================================
--- gnunet/src/transport/plugin_transport_unix.c        2012-05-02 07:58:28 UTC 
(rev 21217)
+++ gnunet/src/transport/plugin_transport_unix.c        2012-05-02 08:04:56 UTC 
(rev 21218)
@@ -1123,8 +1123,10 @@
   GNUNET_CONTAINER_multihashmap_iterate (plugin->session_map, 
&get_session_delete_it, plugin);
   GNUNET_CONTAINER_multihashmap_destroy (plugin->session_map);
 
-  GNUNET_NETWORK_fdset_destroy (plugin->rs);
-  GNUNET_NETWORK_fdset_destroy (plugin->ws);
+  if (NULL != plugin->rs)
+    GNUNET_NETWORK_fdset_destroy (plugin->rs);
+  if (NULL != plugin->ws)
+    GNUNET_NETWORK_fdset_destroy (plugin->ws);
   GNUNET_free (plugin->unix_socket_path);
   GNUNET_free (plugin);
   GNUNET_free (api);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]