Skip to content
Commit 9b54d816 authored by Hou Tao's avatar Hou Tao Committed by Jens Axboe
Browse files

blkcg: fix double free of new_blkg in blkcg_init_queue



If blkg_create fails, new_blkg passed as an argument will
be freed by blkg_create, so there is no need to free it again.

Signed-off-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 0cacba6c
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