From: xrs Date: Tue, 3 Jul 2018 20:53:57 +0000 (+0200) Subject: fix codesonar finding 2287.9399 X-Git-Tag: v0.11.0~322^2~88^2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0a5d0d80c6e2896c0561f77ddafeb0aa99fbf456;p=oweals%2Fgnunet.git fix codesonar finding 2287.9399 --- diff --git a/src/multicast/test_multicast_multipeer.c b/src/multicast/test_multicast_multipeer.c index 3a7c6d961..92209b774 100644 --- a/src/multicast/test_multicast_multipeer.c +++ b/src/multicast/test_multicast_multipeer.c @@ -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");