]> git.ipfire.org Git - thirdparty/qemu.git/commit
virtio-input: fix memory leak on unrealize
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 21 Nov 2019 09:56:49 +0000 (13:56 +0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 25 Nov 2019 08:19:36 +0000 (03:19 -0500)
commit509ec36c1e4c559e90115a16403dea8d92dff335
tree85c00413a44aab6d8781de76037dabc62284ecd3
parent2061735ff09f9d5e67c501a96227b470e7de69b1
virtio-input: fix memory leak on unrealize

Spotted by ASAN + minor stylistic change.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20191121095649.25453-1-marcandre.lureau@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
hw/input/virtio-input.c