diff options
| author | Hou Tao <houtao1@huawei.com> | 2017-02-03 17:19:07 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-22 09:23:19 +0100 |
| commit | 633a5a5235d697b145171ca1e702d3a4f6778131 (patch) | |
| tree | ed78054aa9b6b547eee446d94b1e167ce8611832 /tools/perf/util/trace-event-scripting.c | |
| parent | b8ea1f9b32599d3cc0ce81636d3842aee2ce302b (diff) | |
blkcg: fix double free of new_blkg in blkcg_init_queue
commit 9b54d816e00425c3a517514e0d677bb3cec49258 upstream.
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: Hou Tao <houtao1@huawei.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions
