Fix coverity #10263
authorBart Polot <bart@net.in.tum.de>
Thu, 17 Nov 2011 14:04:53 +0000 (14:04 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 17 Nov 2011 14:04:53 +0000 (14:04 +0000)
src/mesh/gnunet-service-mesh.c

index e8b7ed7a09a1f6e0f1a6166ff573ea501568f06d..786fa474fc6e5052c8604011a1041822bed65701 100644 (file)
@@ -3081,6 +3081,7 @@ handle_mesh_path_ack (void *cls, const struct GNUNET_PeerIdentity *peer,
     copy->length = i;
     peer_info_add_path(aux, copy, 0);
   }
+  path_destroy(p);
 
   /* Message for us? */
   if (0 == memcmp (&msg->oid, &my_full_id, sizeof (struct GNUNET_PeerIdentity)))