summaryrefslogtreecommitdiff
path: root/drivers/virtio
diff options
context:
space:
mode:
authorXianting Tian <xianting.tian@linux.alibaba.com>2021-12-28 06:09:24 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-01-15 02:50:53 +0300
commit080063920777af65105e5953e2851e036376e3ea (patch)
treed24d7534462d4fc56460e0786a156addaec3d2e0 /drivers/virtio
parent97143b70aa847f2b0a1f959dde126b76ff7b5376 (diff)
downloadlinux-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