Xie Yongji 102d6bc647 virtio-blk: Fix memory leak among suspend/resume procedure
[ Upstream commit b71ba22e7c6c6b279c66f53ee7818709774efa1f ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:21:14 +02:00
..
2016-06-27 12:26:08 -07:00
2021-03-03 17:44:43 +01:00
2021-01-17 13:57:55 +01:00
2016-03-15 15:59:47 -07:00
2016-06-27 12:26:08 -07:00
2018-11-13 11:16:49 -08:00
2016-08-07 14:41:02 -06:00