From 7e7ddf0fef3fc28f44b558bdaf73b992133c8635 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 9 Aug 2021 15:19:29 +0200 Subject: -fix memory leak --- src/conversation/conversation_api.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conversation/conversation_api.c b/src/conversation/conversation_api.c index 88fe8f11c..1984abdd6 100644 --- a/src/conversation/conversation_api.c +++ b/src/conversation/conversation_api.c @@ -645,6 +645,7 @@ GNUNET_CONVERSATION_phone_create (const struct GNUNET_CONFIGURATION_Handle *cfg, GNUNET_CRYPTO_hash (line, strlen (line), &line_port); + GNUNET_free (line); phone = GNUNET_new (struct GNUNET_CONVERSATION_Phone); if (GNUNET_OK != GNUNET_CRYPTO_get_peer_identity (cfg, -- cgit v1.2.3