[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: NTorsten Crass <torsten.crass@eBiology.de> Signed-off-by: NBen Hutchings <ben@decadent.org.uk> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
Showing
想要评论请 注册 或 登录