You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
251 B

--- a/src/ftpclass.cc
+++ b/src/ftpclass.cc
@@ -1071,7 +1071,9 @@ Ftp::Connection::~Connection()
control_send=0;
control_recv=0;
+#if USE_SSL
control_ssl=0; // ssl should be freed after send/recv
+#endif
if(control_sock!=-1)
{