Skip to content
Tcl Source Code View Ticket
Login

View Ticket

memleak in the IPv6 code

Closed / Fixed3084338fffffffffffffffffffffffffffffffffCreated 16 years agoUpdated 15 years ago
Descriptionplain2010-10-09 17:21:32
Run this and watch the memory usage go up:

while 1 { close [socket -async 127.0.0.1 12345] }
dkf Ticket [3084338fff]: 1 change [History diff]2010-10-10 00:36:01
rmaxplain2010-10-12 18:46:33
Ah - my code was checking for == NULL instead of != NULL when looking if addrinfo pointers need freeing.
And the test wasn't even needed, because freeaddrinfo() is fine with null pointers, otherwise the test suite would have crashed while the wrong logic was in place.
Fixed on HEAD.
rmaxplain2010-11-09 21:01:51
Fixed in CVS on 2010-10-12.
dgpplain2011-09-24 02:43:31
allow_comments - 1
Log in (anonymous is fine) to add a comment.