fix for fix
authorMatthias Wachs <wachs@net.in.tum.de>
Wed, 18 Dec 2013 09:03:12 +0000 (09:03 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Wed, 18 Dec 2013 09:03:12 +0000 (09:03 +0000)
src/transport/plugin_transport_udp.c

index 43c46aae70a5c6439a80f9904f587c91193a3103..1ba5bff6c9049d637eed56529198ef77b974d3eb 100644 (file)
@@ -3285,6 +3285,11 @@ libgnunet_plugin_transport_udp_done (void *cls)
     GNUNET_CONTAINER_heap_destroy (plugin->defrag_ctxs);
     plugin->defrag_ctxs = NULL;
   }
+  if (plugin->mst != NULL)
+  {
+    GNUNET_SERVER_mst_destroy(plugin->mst);
+    plugin->mst = NULL;
+  }
 
   /* Clean up leftover messages */
   struct UDP_MessageWrapper * udpw;