dermesser / libsocket

The ultimate socket library for C and C++, supporting TCP, UDP and Unix sockets (DGRAM and STREAM) on Linux, FreeBSD, Solaris. See also my uvco library for a refreshed version!
https://borgac.net/~lbo/doc/libsocket/
Other
797 stars 195 forks source link

[FIX] Memory leak in unix_stream_server::accept #64

Closed ghost closed 4 years ago

ghost commented 4 years ago

Memory leak every time a condition occurs: if(cfd < 0)

dermesser commented 4 years ago

Thank you a lot!

ghost commented 4 years ago

Sorry for bad fix :(

dermesser commented 4 years ago

Don't worry - it was time to do it anyway. Sorry for my bad code in the first place!

On Thu, 2019-09-26 at 02:55 -0700, Vladislav wrote:

Sorry for bad fix :(

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.