diff options
author | Jes Sorensen <jsorensen@fb.com> | 2019-04-19 16:35:44 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-05-29 14:33:04 -0600 |
commit | 41de54c64811bf087c8464fdeb43c6ad8be2686b (patch) | |
tree | a489bff9589f120fe7bf570168ce014d76f034e9 /crypto | |
parent | fe2008640ae36e3920cf41507a84fb5d3227435a (diff) | |
download | lwn-41de54c64811bf087c8464fdeb43c6ad8be2686b.tar.gz lwn-41de54c64811bf087c8464fdeb43c6ad8be2686b.zip |
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: Jes Sorensen <jsorensen@fb.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions