commit | b71ba22e7c6c6b279c66f53ee7818709774efa1f | [log] [tgz] |
---|---|---|
author | Xie Yongji <xieyongji@bytedance.com> | Mon May 17 16:43:32 2021 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Sat Jul 03 04:50:52 2021 -0400 |
tree | dfbdaf4310454bde7f0066dd9fc03ec923882684 | |
parent | 42326903c6324eca02ae3139e293a1aeb7540037 [diff] |
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>