We need to preserve the "iio_evgen->irq_sim_domain" error code before
we free "iio_evgen" otherwise it leads to a use after free.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| iio_dummy_evgen.c | ||
| iio_dummy_evgen.h | ||
| iio_simple_dummy.c | ||
| iio_simple_dummy.h | ||
| iio_simple_dummy_buffer.c | ||
| iio_simple_dummy_events.c | ||