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

index 3a7c6d96158e34f4d23c01ba91c36abfab2112f9..92209b774f1afa42de5139c506db6ee08a32fdca 100644 (file)
@@ -328,6 +328,7 @@ origin_notify (void *cls,
   pp_msg->msg = PONG;
   *data_size = sizeof (struct pingpong_msg);
   GNUNET_memcpy(data, pp_msg, *data_size);
+  GNUNET_free (pp_msg);
 
   GNUNET_log (GNUNET_ERROR_TYPE_INFO, "origin sends pong\n");