[media] staging: lirc_serial: Free resources on failure paths of lirc_serial_probe()
authorBen Hutchings <ben@decadent.org.uk>
Wed, 16 Nov 2011 04:52:11 +0000 (01:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Nov 2011 20:17:30 +0000 (18:17 -0200)
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>

No differences found