diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-05-14 21:36:00 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-20 11:43:05 -0300 |
commit | f27b853ea24a9b70585f9251384d97929e6551c3 (patch) | |
tree | 3ee3779961fb8356a54156fb472cb4a87ca9473f /include/media | |
parent | 81cda577422b85f98efc350e2520f2a2dc5f3ddb (diff) |
[media] rc: Fix invalid free_region and/or free_irq on probe failure
fintek-cir, ite-cir and nuvoton-cir may try to free an I/O region
and/or IRQ handler that was never allocated after a failure in their
respective probe functions. Add and use separate labels on the
failure path so they will do the right cleanup after each possible
point of failure.
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions