diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-01-30 23:04:35 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-02 03:10:47 -0500 |
commit | 0126793bee853e7c134627f51d2de5428a612e99 (patch) | |
tree | 5950ebb0814dd5b1268aa39b66cfaec8d9218588 /qga/commands-posix.c | |
parent | daae36c13abc73cf1055abc2d33cb71cc5d34310 (diff) | |
download | qemu-0126793bee853e7c134627f51d2de5428a612e99.zip qemu-0126793bee853e7c134627f51d2de5428a612e99.tar.gz qemu-0126793bee853e7c134627f51d2de5428a612e99.tar.bz2 |
vhost-user-i2c: Back up vqs before cleaning up vhost_dev
vhost_dev_cleanup() clears vhost_dev so back up its vqs member to free
the memory pointed by the member.
Fixes: 7221d3b634 ("hw/virtio: add boilerplate for vhost-user-i2c device")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230130140435.78049-1-akihiko.odaki@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'qga/commands-posix.c')
0 files changed, 0 insertions, 0 deletions