diff options
author | Roger Dingledine <arma@torproject.org> | 2007-11-27 21:17:43 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-11-27 21:17:43 +0000 |
commit | 7f12ebc3fa4fc8cb8b8949961ae4ad62d740e8ab (patch) | |
tree | 6b120be21dd2f32406a2a5603532aedda645aefa /src/common/crypto.c | |
parent | 466abecef43b39faf48c33770a7939162341f5f2 (diff) | |
download | tor-7f12ebc3fa4fc8cb8b8949961ae4ad62d740e8ab.tar.gz tor-7f12ebc3fa4fc8cb8b8949961ae4ad62d740e8ab.zip |
cleanups on r12579
svn:r12580
Diffstat (limited to 'src/common/crypto.c')
-rw-r--r-- | src/common/crypto.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c index c4a06c7c11..ad9e11a261 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -486,6 +486,7 @@ crypto_pk_write_public_key_to_string(crypto_pk_env_t *env, char **dest, */ if (!PEM_write_bio_RSAPublicKey(b, env->key)) { crypto_log_errors(LOG_WARN, "writing public key to string"); + /* XXX020 leaks b? maybe "BIO_free(b);" would be smart here. -RD */ return -1; } |