Merge pull request 'Fix file descriptor leakage' (#35) from lda/Cytoplasm:tls-file-leak into master

Reviewed-on: https://git.telodendria.io/Telodendria/Cytoplasm/pulls/35
This commit is contained in:
Jordan Bancino 2024-06-07 14:00:44 -05:00
commit b9dc169917

View file

@ -295,9 +295,7 @@ TlsClose(void *cookie)
SSL_free(ssl->ssl); SSL_free(ssl->ssl);
SSL_CTX_free(ssl->ctx); SSL_CTX_free(ssl->ctx);
#if 0
close(ssl->fd); close(ssl->fd);
#endif
Free(ssl); Free(ssl);