linux-stable/drivers/staging
Dan Carpenter c8d3775745 staging: r8188eu: fix a memory leak in rtw_wx_read32()
commit be4ea8f383 upstream.

Free "ptmp" before returning -EINVAL.

Fixes: 2b42bd58b3 ("staging: r8188eu: introduce new os_dep dir for RTL8188eu driver")
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20211109114935.GC16587@kili
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-12-01 09:04:41 +01:00
..
android
axis-fifo
board
clocking-wizard clk: staging: correct reference to config IOMEM to config HAS_IOMEM 2021-08-17 20:03:00 +02:00
emxx_udc
fbtft staging/fbtft: Fix backlight 2021-12-01 09:04:41 +01:00
fieldbus
fwserial tty: drop put_tty_driver 2021-07-27 12:17:21 +02:00
gdm724x TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
greybus staging: greybus: Add missing rwsem around snd_ctl_remove() calls 2021-12-01 09:04:41 +01:00
gs_fpgaboot
iio
ks7010 staging: ks7010: select CRYPTO_HASH/CRYPTO_MICHAEL_MIC 2021-11-18 19:16:52 +01:00
media media: ipu3-imgu: VIDIOC_QUERYCAP: Fix bus_info 2021-11-18 19:16:14 +01:00
most staging: most: dim2: do not double-register the same device 2021-11-18 19:16:52 +01:00
mt7621-dma
mt7621-dts
mt7621-pci staging: mt7621-pci: fix hang when nothing is connected to pcie ports 2021-08-26 12:06:37 +02:00
netlogic
nvec
octeon dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
octeon-usb
olpc_dcon
pi433
qlge IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
r8188eu staging: r8188eu: fix a memory leak in rtw_wx_read32() 2021-12-01 09:04:41 +01:00
ralink-gdma
rtl8192e staging: rtl8192e: Fix use after free in _rtl92e_pci_disconnect() 2021-12-01 09:04:41 +01:00
rtl8192u staging: rtl8192u: fix control-message timeouts 2021-11-12 15:05:51 +01:00
rtl8712 staging: r8712u: fix control-message timeout 2021-11-12 15:05:51 +01:00
rtl8723bs staging: rtl8723bs: remove a third possible deadlock 2021-11-25 09:48:25 +01:00
rts5208 staging: rts5208: Fix get_ms_information() heap buffer size 2021-08-18 10:10:49 +02:00
sm750fb staging: sm750fb: Rename vScreen to v_screen in lynxfb_crtc 2021-07-28 20:17:26 +02:00
unisys
vc04_services staging: vc04_services: shut up out-of-range warning 2021-10-05 12:34:54 +02:00
vme
vt6655 staging: vt6655: Remove filenames in files 2021-08-28 09:45:10 +02:00
vt6656 staging: vt6656: Remove filenames in files 2021-08-28 08:33:33 +02:00
wfx staging: wfx: ensure IRQ is ready before enabling it 2021-11-25 09:48:23 +01:00
wlan-ng IIO / Staging driver update for 5.15-rc1 2021-09-01 09:45:57 -07:00
Kconfig staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00
Makefile staging: rtl8188eu: remove rtl8188eu driver from staging dir 2021-08-01 08:10:42 +02:00