diff options
author | 2024-01-17 15:07:22 +0100 | |
---|---|---|
committer | 2024-01-29 11:02:12 +0800 | |
commit | 918f620d30a9b0095b7824b8d77a2d6059a439d9 (patch) | |
tree | bf0e3ab2ed5330de9e14dfc0b7bd104d94c0235d /scripts/qapi/source.py | |
parent | userfaultfd: use 1ULL to build ioctl masks (diff) | |
download | qemu-918f620d30a9b0095b7824b8d77a2d6059a439d9.tar.xz qemu-918f620d30a9b0095b7824b8d77a2d6059a439d9.zip |
migration: Plug memory leak on HMP migrate error path
hmp_migrate() leaks @caps when qmp_migrate() fails. Plug the leak
with g_autoptr().
Fixes: 967f2de5c9ec (migration: Implement MigrateChannelList to hmp migration flow.) v8.2.0-rc0
Fixes: CID 1533125
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Link: https://lore.kernel.org/r/20240117140722.3979657-1-armbru@redhat.com
[peterx: fix CID number as reported by Peter Maydell]
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions