diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-10-08 16:50:12 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2024-10-14 17:34:09 +0400 |
commit | 244d52ff736fefc3dd364ed091720aa896af306d (patch) | |
tree | 659d5dde7e2d35ce17b0fe1e3b8666de8aa41fc3 /hw/display/virtio-gpu.c | |
parent | 6d6e23361fc732e4fe36a8bc5873b85f264ed53a (diff) | |
download | qemu-244d52ff736fefc3dd364ed091720aa896af306d.zip qemu-244d52ff736fefc3dd364ed091720aa896af306d.tar.gz qemu-244d52ff736fefc3dd364ed091720aa896af306d.tar.bz2 |
ui/dbus: fix leak on message filtering
A filter function that wants to drop a message should return NULL, in
which case it must also unref the message itself.
Fixes: fa88b85de ("ui/dbus: filter out pending messages when scanout")
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-ID: <20241008125028.1177932-4-marcandre.lureau@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu.c')
0 files changed, 0 insertions, 0 deletions