Check that you are not present in trail twice
[oweals/gnunet.git] / src / transport / gnunet-service-transport_clients.c
index 29d506ab31f7fe0b2f9dc8ca04d037816f3a24cf..af15023df15b240a9358598c3b988babbb6889dc 100644 (file)
@@ -777,7 +777,7 @@ try_connect_if_allowed (void *cls,
     return;                     /* not allowed */
   }
 
-  GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+  GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
               _("Blacklist allows connection attempt to peer `%s'\n"),
               GNUNET_i2s (peer));
 
@@ -902,6 +902,7 @@ transmit_address_to_client (void *cls,
       GNUNET_CONTAINER_DLL_remove (a2s_head,
                                    a2s_tail,
                                    actx);
+      GNUNET_free (atsm);
       GNUNET_free (actx);
       return;
     }