diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2021-05-17 16:43:32 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-07-03 04:50:52 -0400 |
commit | b71ba22e7c6c6b279c66f53ee7818709774efa1f (patch) | |
tree | dfbdaf4310454bde7f0066dd9fc03ec923882684 /LICENSES/dual | |
parent | 42326903c6324eca02ae3139e293a1aeb7540037 (diff) | |
download | linux-b71ba22e7c6c6b279c66f53ee7818709774efa1f.tar.bz2 |
virtio-blk: Fix memory leak among suspend/resume procedure
The vblk->vqs should be freed before we call init_vqs()
in virtblk_restore().
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20210517084332.280-1-xieyongji@bytedance.com
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'LICENSES/dual')
0 files changed, 0 insertions, 0 deletions