diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-08-19 07:51:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-08-19 07:51:09 +0000 |
commit | dafc652f638f45b1e7a58a52bb8b949940f2b213 (patch) | |
tree | 4ca72245b28d72c8a6be1f6be17189725b412284 /lib | |
parent | c16dd085f1e86b287394ab55372c56ee6080b1e7 (diff) |
Loren Kirkby pointed out that we need to call CRYPTO_cleanup_all_ex_data()
when we cleanup the SSL stuff to not leak any memory.
I wish this was documented anywhere.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssluse.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index 02638e534..a05a31428 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -437,6 +437,8 @@ void Curl_SSL_cleanup(void) ENGINE_cleanup(); #endif + CRYPTO_cleanup_all_ex_data(); + init_ssl=0; /* not inited any more */ } #else |