dix: resolved not free after ClientSleep (suspended status)
However, I'm not sure for sure, only resolved needs release memory or other pointers too?
Are you really certain ? This one of the complex beasts where static analysis can easily be wrong. (I didn't dare to touch it yet, before 100% understanding it first)
For example, we need to check that the buffer isn't somehow passed to the closure. The whole client-sleep logic isn't entirely trivial. It processes the request up to certain point, then puts the client asleep (processing others in the meantime) and later, on wakeup, calling into a callback (which gets passed the closure) to finish the request.
Let's take this thing apart after the release.
@GermanAizek ping