]> git.baikalelectronics.ru Git - kernel.git/commit
[media] bt8xx: fix memory leak
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Fri, 16 Dec 2016 21:31:49 +0000 (19:31 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:42:20 +0000 (07:42 -0200)
commit68439ed7c8c02b1eedab08313bad14453ea548ae
treea77fce09c6a410aacf922477d113334e57ca9ad2
parent81425220e11622c502fe624823e41414b5bfb091
[media] bt8xx: fix memory leak

If dvb_attach() fails then we were just printing an error message and
exiting but the memory allocated to state was not released.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/bt8xx/dvb-bt8xx.c