fix codesonar finding 2289.9403
authorxrs <xrs@mail36.net>
Tue, 3 Jul 2018 20:58:38 +0000 (22:58 +0200)
committerxrs <xrs@mail36.net>
Tue, 3 Jul 2018 20:58:38 +0000 (22:58 +0200)
src/multicast/test_multicast_multipeer.c

index 92209b774f1afa42de5139c506db6ee08a32fdca..7766ff875fb0edb5d4f5a79eac0a594b8e84265e 100644 (file)
@@ -160,6 +160,7 @@ notify (void *cls,
 
   *data_size = sizeof (struct pingpong_msg);
   GNUNET_memcpy(data, pp_msg, *data_size);
+  GNUNET_free (pp_msg);
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO,
               "Peer #%u sents ping to origin\n", mc_peer->peer);