Browse Source

fix memory leak

master
nixo 2 years ago
parent
commit
008b3da487
  1. 1
      src/OpenSSL.jl

1
src/OpenSSL.jl

@ -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…
Cancel
Save