On Mon, Dec 29, 2025 at 06:22:04PM -0300, Fabiano Rosas wrote:
> You're talking about the comments not being at the right place? I can
> duplicate them in migration_connect_outgoing|incoming.

Yep, dup it is fine, or just drop them?

Normally we should assume all parameters to be freed anytime by default for
a function.  AFAIU that's the common case.

OTOH, IMHO we may better need comments where the function can transit
ownership of the memory of the parameters... while this is not the case.

-- 
Peter Xu


Reply via email to