]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration/cpr: Document obscure usage of g_autofree when parse str
authorPeter Xu <peterx@redhat.com>
Thu, 23 Oct 2025 16:16:57 +0000 (12:16 -0400)
committerPeter Xu <peterx@redhat.com>
Mon, 3 Nov 2025 21:04:10 +0000 (16:04 -0500)
commitc2a06e8f28a14cfb26cc442269176ae60d1178ef
treeaa0da4522b271fc01a40f3c2df2a3d1daa792583
parentae00f0088ffd1e9ee6a84d79dccea1820ce873ac
migration/cpr: Document obscure usage of g_autofree when parse str

HMP parsing of cpr_exec_command contains an obscure usage of g_autofree.
Provide a document for it to be clear that it's intentional, rather than
memory leaked.

Cc: Dr. David Alan Gilbert <dave@treblig.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org>
Link: https://lore.kernel.org/r/20251023161657.2821652-1-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
migration/migration-hmp-cmds.c