Dan Carpenter 128516e49d iio: dummy_evgen: Fix use after free on error in iio_dummy_evgen_create()
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: 337cbeb2c13e ("genirq/irq_sim: Simplify the API")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
2020-05-20 13:11:41 +01:00
..
2020-04-08 21:25:49 -07:00
2020-03-23 08:01:20 +01:00
2020-04-08 21:25:49 -07:00
2020-04-08 21:25:49 -07:00
2020-03-23 08:01:20 +01:00
2020-03-23 08:01:20 +01:00
2020-03-08 17:28:53 +00:00