fix memory leak
parent
f2237369c6
commit
008b3da487
|
@ -42,6 +42,7 @@ import Base.close
|
|||
function close(client::SSLClient)
|
||||
closed = do_ssl_shutdown(client)
|
||||
close(client.sock)
|
||||
free(client.context)
|
||||
free(client)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue