summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-09 15:19:29 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-09 15:19:29 +0200
commit7e7ddf0fef3fc28f44b558bdaf73b992133c8635 (patch)
treef13c311eb2f4e7c4b67ab72a873b9d84a886eda7
parent7bb8e4004058320917bdae1d6c45de2d3d18d8b0 (diff)
-fix memory leak
-rw-r--r--src/conversation/conversation_api.c1
1 files changed, 1 insertions, 0 deletions
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,