diff options
| author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2023-01-30 23:05:16 +0900 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2023-03-02 03:10:47 -0500 |
| commit | f0dac71596d4b87a1a77d1f4efb6a6adb4730d7b (patch) | |
| tree | 9612514528382ad4aa9a438d4be442dcd9f9b02f /hw/timer/grlib_gptimer.c | |
| parent | 0126793bee853e7c134627f51d2de5428a612e99 (diff) | |
| download | focaccia-qemu-f0dac71596d4b87a1a77d1f4efb6a6adb4730d7b.tar.gz focaccia-qemu-f0dac71596d4b87a1a77d1f4efb6a6adb4730d7b.zip | |
vhost-user-rng: 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: 821d28b88f ("vhost-user-rng: Add vhost-user-rng implementation")
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20230130140516.78078-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 'hw/timer/grlib_gptimer.c')
0 files changed, 0 insertions, 0 deletions