]> granicus.if.org Git - curl/commitdiff
Loren Kirkby pointed out that we need to call CRYPTO_cleanup_all_ex_data()
authorDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 07:51:09 +0000 (07:51 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 19 Aug 2003 07:51:09 +0000 (07:51 +0000)
when we cleanup the SSL stuff to not leak any memory.

I wish this was documented anywhere.

lib/ssluse.c

index 02638e5347b322adb260e7d5c1f6cc84ae1114e6..a05a314281b24e4c39e0add4827b5e4c09783768 100644 (file)
@@ -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