linux/drivers/iio/dummy
Pan Bian dfd4f64976 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>
2019-04-22 11:45:03 +01:00
..
iio_dummy_evgen.c iio: dummy_evgen: fix possible memleak in evgen init 2019-04-22 11:45:03 +01:00
iio_dummy_evgen.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
iio_simple_dummy_buffer.c iio:dummy: Stop enabling timestamp by default. 2017-01-10 19:54:55 +00:00
iio_simple_dummy_events.c iio: dummy: events: Add missing break 2017-10-01 11:17:18 +01:00
iio_simple_dummy.c A couple of configfs cleanups: 2017-11-14 14:44:04 -08:00
iio_simple_dummy.h iio: dummy: No semicolon at end of function definition 2016-12-30 18:35:05 +00:00
Kconfig iio:dummy: Add extra paragraphs on Kconfig 2018-03-03 15:20:16 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00