diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-12-19 14:01:18 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-12-19 14:01:18 +0000 |
commit | 9b3124e045a61865805b7a97f87700609cb926cb (patch) | |
tree | f46fae02dcdb3e007d9b1618ab1052420464a78a /src/util/common_logging.c | |
parent | dc0da39a4d4a086b5286ae4705a3b96695d2f5f0 (diff) | |
download | gnunet-9b3124e045a61865805b7a97f87700609cb926cb.tar.gz gnunet-9b3124e045a61865805b7a97f87700609cb926cb.zip |
-fix sec_name leak
Diffstat (limited to 'src/util/common_logging.c')
-rw-r--r-- | src/util/common_logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/common_logging.c b/src/util/common_logging.c index aebfc504a..5faa4af73 100644 --- a/src/util/common_logging.c +++ b/src/util/common_logging.c | |||
@@ -1095,7 +1095,7 @@ GNUNET_i2s (const struct GNUNET_PeerIdentity *pid) | |||
1095 | { | 1095 | { |
1096 | static char buf[256]; | 1096 | static char buf[256]; |
1097 | char *ret; | 1097 | char *ret; |
1098 | 1098 | ||
1099 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid->public_key); | 1099 | ret = GNUNET_CRYPTO_eddsa_public_key_to_string (&pid->public_key); |
1100 | strcpy (buf, ret); | 1100 | strcpy (buf, ret); |
1101 | GNUNET_free (ret); | 1101 | GNUNET_free (ret); |