- take care of PEER RCs
authorBart Polot <bart@net.in.tum.de>
Sat, 21 Dec 2013 22:12:54 +0000 (22:12 +0000)
committerBart Polot <bart@net.in.tum.de>
Sat, 21 Dec 2013 22:12:54 +0000 (22:12 +0000)
src/mesh/gnunet-service-mesh_connection.c

index 88f45796743a51172e7500f32261b123fa769853..3d4f18678df18627ca9ef93227bce1ca50e23127 100644 (file)
@@ -1419,7 +1419,7 @@ GMC_handle_create (void *cls, const struct GNUNET_PeerIdentity *peer,
     if (0 == own_pos)
     {
       GNUNET_break_op (0);
-      GNUNET_free (path);
+      path_destroy (path);
       return GNUNET_OK;
     }
     LOG (GNUNET_ERROR_TYPE_DEBUG, "  Own position: %u\n", own_pos);