diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-07 23:20:13 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-07 23:20:13 -0400 |
commit | f0bce2dc359dc2b3004af33541b27c495ad731f3 (patch) | |
tree | 78165f9661418243e4669dafffa737923f88c570 /src/tools | |
parent | 595303fd1e1998e12c51901f1aea77311e973a44 (diff) | |
download | tor-f0bce2dc359dc2b3004af33541b27c495ad731f3.tar.gz tor-f0bce2dc359dc2b3004af33541b27c495ad731f3.zip |
Fix some harmless/untriggerable memory leaks found by coverity
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/tor-gencert.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/tor-gencert.c b/src/tools/tor-gencert.c index 2f95cf7c52..d0c30b8b02 100644 --- a/src/tools/tor-gencert.c +++ b/src/tools/tor-gencert.c @@ -547,6 +547,9 @@ main(int argc, char **argv) if (signing_key) EVP_PKEY_free(signing_key); tor_free(address); + tor_free(identity_key_file); + tor_free(signing_key_file); + tor_free(certificate_file); crypto_global_cleanup(); return r; |