]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-ccw: virtio_ccw_set_guest_notifier(): fix failure path
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Mon, 19 Jan 2026 18:52:11 +0000 (21:52 +0300)
committerThomas Huth <thuth@redhat.com>
Tue, 10 Feb 2026 09:52:48 +0000 (10:52 +0100)
commit391c230f71fbf22284d1cf41201e70414e8bd2b0
tree0c7515db3a67434dbf8eb2decfb8ac064f4fca6e
parenta3e0783a878bff4c755dc93aebecf3af99f2017b
virtio-ccw: virtio_ccw_set_guest_notifier(): fix failure path

We leak notifier initialization on that failure path. Let's
cleanup it.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
Reviewed-by: Eric Farman <farman@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20260119185228.203296-8-vsementsov@yandex-team.ru>
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/s390x/virtio-ccw.c