linux/drivers/media
Nishka Dasgupta bf9d46f751 media: platform: sti: c8sectpfe: core: Add of_node_put() at goto
Each iteration of for_each_child_of_node puts the previous node, but in
the case of a goto from the middle of the loop, there is no put, thus
causing a memory leak. Hence add a new label that puts the last used
node, and edit the goto statements in the middle of the loop to first go
to the new label.
Issue found with Coccinelle.

Signed-off-by: Nishka Dasgupta <nishkadg.linux@gmail.com>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-27 07:53:26 +01:00
..
cec media: cec-core: first mark device unregistered, then wake up fhs 2020-11-16 10:31:09 +01:00
common media: siano: fix memory leak of debugfs members in smsdvb_hotplug 2020-11-26 14:26:19 +01:00
dvb-core media: dvbdev: Fix memleak in dvb_register_device 2020-11-17 06:57:54 +01:00
dvb-frontends media: fix kernel-doc markups 2020-11-16 10:31:16 +01:00
firewire media: firewire: fix memory leak 2020-09-27 11:29:45 +02:00
i2c media: i2c: imx219: Declare that the driver can create events 2020-11-25 14:44:46 +01:00
mc media: mc-device.c: change media_device_request_alloc to match media_ioctl_info 2020-08-29 08:15:23 +02:00
mmc
pci media: ipu3-cio2: fix trivial style warning 2020-11-25 14:42:06 +01:00
platform media: platform: sti: c8sectpfe: core: Add of_node_put() at goto 2020-11-27 07:53:26 +01:00
radio media: radio-sf16fmr2: use semicolons rather than commas to separate statements 2020-11-16 10:31:07 +01:00
rc media: rc: add keymap for KHAMSIN remote 2020-11-26 14:28:10 +01:00
spi
test-drivers media: vim2m: Register video device after setting up internals 2020-11-17 07:12:18 +01:00
tuners media: remove unneeded break 2020-11-16 10:31:10 +01:00
usb media: gp8psk: initialize stats at power control logic 2020-11-27 07:40:21 +01:00
v4l2-core media: v4l2-compat-ioctl32.c: add missing #ifdef CONFIG_COMPAT_32BIT_TIMEs 2020-11-17 07:14:46 +01:00
Kconfig
Makefile