diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-30 20:47:58 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-30 20:47:58 +0000 |
commit | de198d800b42218a424d44179ea2881d6dfbf975 (patch) | |
tree | 8c1de7020eb5a5d0df125ad4619255f41304d501 /src/common/tortls.c | |
parent | 364fd1ccdffe4a8f6c46137366e4c673b26b453c (diff) | |
download | tor-de198d800b42218a424d44179ea2881d6dfbf975.tar.gz tor-de198d800b42218a424d44179ea2881d6dfbf975.zip |
Never call free() on tor_malloc()d memory. This is unlikely to be our current leak, but it may help dmalloc work.
svn:r5168
Diffstat (limited to 'src/common/tortls.c')
-rw-r--r-- | src/common/tortls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/tortls.c b/src/common/tortls.c index d2b0d7080d..84bcf5a5a9 100644 --- a/src/common/tortls.c +++ b/src/common/tortls.c @@ -408,7 +408,7 @@ tor_tls_context_new(crypto_pk_env_t *identity, if (result && result->client_only_ctx) SSL_CTX_free(result->client_only_ctx); if (result) - free(result); + tor_free(result); if (cert) X509_free(cert); if (idcert) |