diff options
author | 2019-04-18 11:02:56 +0800 | |
---|---|---|
committer | 2019-04-22 11:45:03 +0100 | |
commit | dfd4f6497614ccb34f822849dd2e1fd2c44de37f (patch) | |
tree | 4cc3956c8cbcd3f6f8f089bf5f3b76a9eff364a4 /tools/perf/scripts/python/stackcollapse.py | |
parent | iio:accel:Switch hardcoded function name with a reference to __func__ making the code more maintainable (diff) | |
download | linux-dev-dfd4f6497614ccb34f822849dd2e1fd2c44de37f.tar.xz linux-dev-dfd4f6497614ccb34f822849dd2e1fd2c44de37f.zip |
iio: dummy_evgen: fix possible memleak in evgen init
The memory allocated in the function iio_dummy_evgen_create is not
released if it fails to add the evgen device to device hierarchy. This
may result in a memory leak bug.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions