diff options
author | Fabiano Rosas <farosas@suse.de> | 2024-08-01 14:41:00 -0300 |
---|---|---|
committer | Fabiano Rosas <farosas@suse.de> | 2024-08-02 09:47:40 -0300 |
commit | 84ac6fa12df3e96fdae8f3d992a7c2914c9a6ca5 (patch) | |
tree | 468ba85bf892726c905134b38525c8bc012e7b65 /hw/scsi | |
parent | c80e22517f6cfbbbed20e859f146d331694e6488 (diff) | |
download | qemu-84ac6fa12df3e96fdae8f3d992a7c2914c9a6ca5.zip qemu-84ac6fa12df3e96fdae8f3d992a7c2914c9a6ca5.tar.gz qemu-84ac6fa12df3e96fdae8f3d992a7c2914c9a6ca5.tar.bz2 |
migration: Fix cleanup of iochannel in file migration
The QIOChannelFile object already has its reference decremented by
g_autoptr. Trying to unref an extra time causes:
ERROR:../qom/object.c:1241:object_unref: assertion failed: (obj->ref > 0)
Fixes: a701c03dec ("migration: Drop reference to QIOChannel if file seeking fails")
Fixes: 6d3279655a ("migration: Fix file migration with fdset")
Reported-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Diffstat (limited to 'hw/scsi')
0 files changed, 0 insertions, 0 deletions