fixing memory leak (#1809)
authorChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 11:43:16 +0000 (11:43 +0000)
committerChristian Grothoff <christian@grothoff.org>
Tue, 4 Oct 2011 11:43:16 +0000 (11:43 +0000)
src/dht/gnunet-service-dht_neighbours.c

index 6697d49ea1ca99921a5f28a1a22a1b54dcce6a9d..a750d3590d030cc1d100b46343ab2a9eb23b2f7a 100644 (file)
@@ -759,6 +759,7 @@ handle_core_disconnect (void *cls, const struct GNUNET_PeerIdentity *peer)
                                 pos);
     GNUNET_free (pos);
   }
+  GNUNET_free (to_remove);
 }