diff options
author | Xianting Tian <xianting.tian@linux.alibaba.com> | 2021-12-28 06:09:24 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-15 02:50:53 +0300 |
commit | 080063920777af65105e5953e2851e036376e3ea (patch) | |
tree | d24d7534462d4fc56460e0786a156addaec3d2e0 /drivers/virtio | |
parent | 97143b70aa847f2b0a1f959dde126b76ff7b5376 (diff) | |
download | linux-080063920777af65105e5953e2851e036376e3ea.tar.xz |
vhost/test: fix memory leak of vhost virtqueues
We need free the vqs in .release(), which are allocated in .open().
Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com>
Link: https://lore.kernel.org/r/20211228030924.3468439-1-xianting.tian@linux.alibaba.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions