Closed jhawthorn closed 10 months ago
Under a couple conditions we could leak the internal buffer->buff buffer or a trilogy_sock_t before it was attached to the client.
buffer->buff
trilogy_sock_t
These were found using RUBY_FREE_AT_EXIT=1 and ASAN/LSAN.
RUBY_FREE_AT_EXIT=1
I made it supported to call trilogy_free multiple times on the same connection.
trilogy_free
Under a couple conditions we could leak the internal
buffer->buff
buffer or atrilogy_sock_t
before it was attached to the client.These were found using
RUBY_FREE_AT_EXIT=1
and ASAN/LSAN.I made it supported to call
trilogy_free
multiple times on the same connection.