-fix leak
authorChristian Grothoff <christian@grothoff.org>
Sat, 21 Dec 2013 21:45:12 +0000 (21:45 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 21 Dec 2013 21:45:12 +0000 (21:45 +0000)
src/mesh/gnunet-service-mesh_connection.c

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