orthecreedence / cl-async

Asynchronous IO library for Common Lisp.
MIT License
273 stars 40 forks source link

Pointer data mem leak #140

Closed l04m33 closed 8 years ago

l04m33 commented 8 years ago

Some stale data are kept in *data-registry* and *function-registry*, causing memory leaks. This PR tries to fix them.

I was able to track down two leaking spots in dns.lisp and one in streamish.lisp, all related to the pointer data infrastructure. In this PR I wrote tests for the DNS cases, but didn't figure out how to properly test the case in streamish.lisp.

orthecreedence commented 8 years ago

Perfect, thank you for catching/fixing these.