xwhuang / sctp-refimpl

Automatically exported from code.google.com/p/sctp-refimpl
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Memory leak for incoming connection in TCP typed listener #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have non blocking TCP type listening socket
2. Establish a new connection to this socket. sonewconn is called which does 
not set so_count to 1 for the new connection
3. Call usrsctp_close which does not release memory because so_count is already 
0

What is the expected output? What do you see instead?
Expect usrsctp_close to free memory

What version of the product are you using? On what operating system?
Lasted SVN as of June 04 2015

Original issue reported on code.google.com by mrubenc...@gmail.com on 4 Jun 2015 at 7:26