]> git.ipfire.org Git - thirdparty/qemu.git/commit
migration: Drop reference to QIOChannel if file seeking fails
authorFabiano Rosas <farosas@suse.de>
Mon, 17 Jun 2024 18:57:16 +0000 (15:57 -0300)
committerFabiano Rosas <farosas@suse.de>
Thu, 20 Jun 2024 13:42:23 +0000 (10:42 -0300)
commita701c03decf140c7666edee1301e151714e50a72
tree52c91542883e156c0a098be5ba175f4d17e859b9
parent02d9c38236cf8c9826e5c5be61780c4444cb4ae0
migration: Drop reference to QIOChannel if file seeking fails

We forgot to drop the reference to the QIOChannel in the error path of
the offset adjustment. Do it now.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
migration/file.c