commit | c8e57e1b766c2321aa76ee5e6878c69bd2313d62 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <ben@decadent.org.uk> | Wed Nov 16 01:52:11 2011 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Nov 24 18:17:30 2011 -0200 |
tree | e407c4ba1f325129d80ca30ebcdfab7271dc5195 | |
parent | 9105b8b200410383d0854bbe237ee385d7d33ba6 [diff] |
[media] staging: lirc_serial: Free resources on failure paths of lirc_serial_probe() Failure to allocate the I/O region leaves the IRQ allocated. A later failure leaves them both allocated. Reported-by: Torsten Crass <torsten.crass@eBiology.de> Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>