diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2011-11-16 01:52:11 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-12 10:33:00 -0700 |
commit | 9971532b094729a08175715fef295cd41d0f7ea7 (patch) | |
tree | f6026bfe4e3cd02558afca0f987ec7147a7765db /mm/page_io.c | |
parent | 531036606ff0b72c5028134df255e4dd19ad6c20 (diff) |
media: staging: lirc_serial: Free resources on failure paths of lirc_serial_probe()
commit c8e57e1b766c2321aa76ee5e6878c69bd2313d62 upstream.
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>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/page_io.c')
0 files changed, 0 insertions, 0 deletions