diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-10-23 12:30:16 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-10-23 13:23:53 -0400 |
commit | 80cf342e476f21b607f2088a6565bee93b1e08b0 (patch) | |
tree | 98c44c601330f6a2de461d702d74bf4d13055638 /src/or/command.c | |
parent | 0c2a3601e8283f3a63f624cfe2c54d21cae62fa3 (diff) | |
download | tor-80cf342e476f21b607f2088a6565bee93b1e08b0.tar.gz tor-80cf342e476f21b607f2088a6565bee93b1e08b0.zip |
Fix memory leak in prop176 code
This fixes part of bug4252. Bug not in any released version.
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/command.c b/src/or/command.c index 1b8ddb30d2..49c9880e31 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -1190,6 +1190,7 @@ command_process_authenticate_cell(var_cell_t *cell, or_connection_t *conn) signed_len = crypto_pk_public_checksig(pk, signed_data, keysize, (char*)auth + V3_AUTH_BODY_LEN, authlen - V3_AUTH_BODY_LEN); + crypto_free_pk_env(pk); if (signed_len < 0) { tor_free(signed_data); ERR("Signature wasn't valid"); |