diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-08-09 15:19:29 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-08-09 15:19:29 +0200 |
commit | 7e7ddf0fef3fc28f44b558bdaf73b992133c8635 (patch) | |
tree | f13c311eb2f4e7c4b67ab72a873b9d84a886eda7 | |
parent | 7bb8e4004058320917bdae1d6c45de2d3d18d8b0 (diff) | |
download | gnunet-7e7ddf0fef3fc28f44b558bdaf73b992133c8635.tar.gz gnunet-7e7ddf0fef3fc28f44b558bdaf73b992133c8635.zip |
-fix memory leak
-rw-r--r-- | src/conversation/conversation_api.c | 1 |
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, | |||
645 | GNUNET_CRYPTO_hash (line, | 645 | GNUNET_CRYPTO_hash (line, |
646 | strlen (line), | 646 | strlen (line), |
647 | &line_port); | 647 | &line_port); |
648 | GNUNET_free (line); | ||
648 | phone = GNUNET_new (struct GNUNET_CONVERSATION_Phone); | 649 | phone = GNUNET_new (struct GNUNET_CONVERSATION_Phone); |
649 | if (GNUNET_OK != | 650 | if (GNUNET_OK != |
650 | GNUNET_CRYPTO_get_peer_identity (cfg, | 651 | GNUNET_CRYPTO_get_peer_identity (cfg, |