linux/drivers/media/usb/dvb-usb
Navid Emamdoost 2289adbfa5 media: usb: fix memory leak in af9005_identify_state
In af9005_identify_state when returning -EIO the allocated buffer should
be released. Replace the "return -EIO" with assignment into ret and move
deb_info() under a check.

Fixes: af4e067e1d ("V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-10-24 18:31:51 -03:00
..
a800.c
af9005-fe.c
af9005-remote.c
af9005-script.h
af9005.c media: usb: fix memory leak in af9005_identify_state 2019-10-24 18:31:51 -03:00
af9005.h
az6027.c
az6027.h
cinergyT2-core.c
cinergyT2-fe.c
cinergyT2.h
cxusb-analog.c
cxusb.c media: cxusb: detect cxusb_ctrl_msg error in query 2019-10-16 11:49:27 -03:00
cxusb.h
dib07x0.h
dib0700_core.c
dib0700_devices.c media: dib0700: fix link error for dibx000_i2c_set_speed 2019-07-22 15:28:37 -04:00
dib0700.h
dibusb-common.c
dibusb-mb.c
dibusb-mc-common.c
dibusb-mc.c
dibusb.h
digitv.c
digitv.h
dtt200u-fe.c
dtt200u.c
dtt200u.h
dtv5100.c
dtv5100.h
dvb-usb-common.h
dvb-usb-dvb.c
dvb-usb-firmware.c
dvb-usb-i2c.c
dvb-usb-init.c
dvb-usb-remote.c
dvb-usb-urb.c
dvb-usb.h
dw2102.c
dw2102.h
gp8psk.c
gp8psk.h
Kconfig
m920x.c
m920x.h
Makefile
nova-t-usb2.c
opera1.c
pctv452e.c media: don't drop front-end reference count for ->detach 2019-08-04 06:33:11 -03:00
technisat-usb2.c media: technisat-usb2: break out of loop at end of buffer 2019-07-22 15:25:35 -04:00
ttusb2.c
ttusb2.h
umt-010.c
usb-urb.c
vp702x-fe.c
vp702x.c
vp702x.h
vp7045-fe.c
vp7045.c
vp7045.h