diff options
author | Hou Tao <houtao1@huawei.com> | 2020-06-15 06:14:59 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-07-01 03:02:58 +0200 |
commit | e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06 (patch) | |
tree | abf0c0c1f7ca8290cc8330425b35e25b1fccbd3a /drivers/hid/Kconfig | |
parent | block/keyslot-manager: use kvfree_sensitive() (diff) | |
download | linux-e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06.tar.xz linux-e7eea44eefbdd5f0345a0a8b80a3ca1c21030d06.zip |
virtio-blk: free vblk-vqs in error path of virtblk_probe()
Else there will be memory leak if alloc_disk() fails.
Fixes: 6a27b656fc02 ("block: virtio-blk: support multi virt queues per virtio-blk device")
Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/hid/Kconfig')
0 files changed, 0 insertions, 0 deletions