Skip to content
Commit 41de54c6 authored by Jes Sorensen's avatar Jes Sorensen Committed by Jens Axboe
Browse files

blk-mq: Fix memory leak in error handling



If blk_mq_init_allocated_queue() fails, make sure to free the poll
stat callback struct allocated.

Signed-off-by: default avatarJes Sorensen <jsorensen@fb.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent fe200864
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment