diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-10-25 19:01:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-10-25 19:01:48 +0000 |
commit | 9492424d3fa009011bfb10d6afe2a1b5e6190173 (patch) | |
tree | d6f77a9542c9de823364e2d23ed815dca13b37b6 /src/or/cpuworker.c | |
parent | b39d03116b56d8e8af94480c1d5fb279310d4cc3 (diff) | |
download | tor-9492424d3fa009011bfb10d6afe2a1b5e6190173.tar.gz tor-9492424d3fa009011bfb10d6afe2a1b5e6190173.zip |
Per comments at the bottom of openssl/FAQ, call even more functions to
clean up OpenSSL's toys when it's done playing. (Why isn't there an
OpenSSL_free_everything() function?)
svn:r5321
Diffstat (limited to 'src/or/cpuworker.c')
-rw-r--r-- | src/or/cpuworker.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/cpuworker.c b/src/or/cpuworker.c index cfd578e492..bc31faaf8d 100644 --- a/src/or/cpuworker.c +++ b/src/or/cpuworker.c @@ -290,6 +290,7 @@ cpuworker_main(void *data) if (last_onion_key) crypto_free_pk_env(last_onion_key); tor_close_socket(fd); + crypto_thread_cleanup(); spawn_exit(); return 0; /* windows wants this function to return an int */ } |