On Thu, Sep 25, 2025 at 11:47 PM Dave Jiang [off-list ref] wrote:
Here's a potential template for doing it with scoped based cleanup. It applies on top of this current patch. I only compile tested. There probably will be errors in the conversion. Feel free to use it.
Thanks Dave. I will probably build on top of this.
BTW, I was wondering how could you use scoped free for response and
dma until I saw return no_free_ptr() for them :)
Anyway I will send the v3 as said previously and follow it up with
scoped cleanups later.