Hacker News new | ask | show | jobs
by richo 4272 days ago
Cheers for the response.

My question about deallocation was regarding the resource though, not the channel.

Honestly, while from a best practice sense it shouldn't be too hard (You need to either send or free a resource when you're done with it), in practice my intuition is that codebases using this will be rife with exciting use after free bugs.

Seperately, have you done any testing to see what valgrind makes of it?