commit | 080063920777af65105e5953e2851e036376e3ea | [log] [tgz] |
---|---|---|
author | Xianting Tian <xianting.tian@linux.alibaba.com> | Tue Dec 28 11:09:24 2021 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Jan 14 18:50:53 2022 -0500 |
tree | d24d7534462d4fc56460e0786a156addaec3d2e0 | |
parent | 97143b70aa847f2b0a1f959dde126b76ff7b5376 [diff] |
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>