linux-stable/drivers/media/usb/em28xx
Igor Matheus Andrade Torrente ac56886371 media: em28xx: Fix possible memory leak of em28xx struct
The em28xx struct kref isn't being decreased after an error in the
em28xx_ir_init, leading to a possible memory leak.

A kref_put and em28xx_shutdown_buttons is added to the error handler code.

Signed-off-by: Igor Matheus Andrade Torrente <igormtorrente@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-06-02 13:04:31 +02:00
..
em28xx-audio.c media: em28xx-audio: use semicolons rather than commas to separate statements 2020-11-16 10:31:06 +01:00
em28xx-camera.c MAINTAINERS & files: Canonize the e-mails I use at files 2018-05-04 06:21:06 -04:00
em28xx-cards.c media: em28xx: Add pid for bulk revision of Hauppauge 461eV2 2021-03-11 11:59:41 +01:00
em28xx-core.c media: em28xx-core: Fix TS2 active led 2021-02-05 23:38:31 +01:00
em28xx-dvb.c media: em28xx: fix memory leak 2021-04-06 10:36:58 +02:00
em28xx-i2c.c media: em28xx-core: Fix i2c error debug 2021-02-05 23:39:04 +01:00
em28xx-input.c media: em28xx: Fix possible memory leak of em28xx struct 2021-06-02 13:04:31 +02:00
em28xx-reg.h media: usb: fix several typos 2019-03-01 09:43:27 -05:00
em28xx-v4l.h media: update/fix my e-mail on some places 2018-05-10 07:27:15 -04:00
em28xx-vbi.c media: em28xx: Add SPDX license tags where needed 2018-03-06 05:54:52 -05:00
em28xx-video.c media: media/usb: rename VFL_TYPE_GRABBER to _VIDEO 2020-02-24 16:53:16 +01:00
em28xx.h media: em28xx/em28xx.h: Remove duplicate struct declaration 2021-04-06 16:11:54 +02:00
Kconfig media: em28xx: Add support for Hauppauge USB QuadHD 2021-02-05 23:40:15 +01:00
Makefile media: prefix header search paths with $(srctree)/ 2019-05-18 11:49:56 +09:00