WSL2-Linux-Kernel/drivers/staging/vt6655
Navid Emamdoost 80b15db5e1 staging: vt6655: Fix memory leak in vt6655_probe
In vt6655_probe, if vnt_init() fails the cleanup code needs to be called
like other error handling cases. The call to device_free_info() is
added.

Fixes: 67013f2c0e ("staging: vt6655: mac80211 conversion add main mac80211 functions")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20191004200319.22394-1-navid.emamdoost@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-10-07 12:34:55 +02:00
..
Kconfig staging: vt665*: use help instead of ---help--- in Kconfig 2019-05-20 10:49:08 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
TODO
baseband.c Staging: vt6655: Align a function declaration 2019-02-28 09:03:50 +01:00
baseband.h Staging: vt6655: Modify comment style of SPDX License Identifier 2019-02-28 09:03:50 +01:00
card.c staging: vt6655: Change return type of function and remove variable 2019-06-03 14:19:33 +02:00
card.h staging: vt6655: Change return type of function and remove variable 2019-06-03 14:19:33 +02:00
channel.c staging: vt6655: Remove redundant license text 2017-11-28 13:20:47 +01:00
channel.h staging: vt6655: channel.h: Fix comment style of SPDX License Identifier 2019-03-18 07:05:18 +01:00
desc.h staging: vt6655: desc.h: Fix comment style of SPDX-License Identifier 2019-03-18 07:05:18 +01:00
device.h staging: vt6655: Fix malformed SPDX-License-Identifier tag 2019-03-18 07:05:21 +01:00
device_cfg.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
device_main.c staging: vt6655: Fix memory leak in vt6655_probe 2019-10-07 12:34:55 +02:00
dpc.c staging: vt6655: remove some redundant variables 2018-07-11 14:47:08 +02:00
dpc.h staging: vt6655: dpc.h: Fix comment style of SPDX License Identifier 2019-03-18 07:05:20 +01:00
key.c staging: vt6655: Remove redundant license text 2017-11-28 13:20:47 +01:00
key.h staging: vt6655: key.h: Fix comment style for SPDX-License Identifier 2019-03-18 07:05:20 +01:00
mac.c staging: vt6655: Remove unused function prototype and definition 2019-03-18 07:05:22 +01:00
mac.h staging: vt6655: Remove unused function prototype and definition 2019-03-18 07:05:22 +01:00
power.c staging: vt6655: Align function declaration 2019-03-18 07:05:20 +01:00
power.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
rf.c staging: vt6655: lines should not end with a parentheses 2019-03-26 05:42:37 +09:00
rf.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
rxtx.c Staging: vt6655: rxtx: Add spaces around '*' 2019-04-01 19:19:48 +02:00
rxtx.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
srom.c staging: vt6655: Remove redundant license text 2017-11-28 13:20:47 +01:00
srom.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
test staging: Add missing newline at end of file 2019-06-18 08:59:40 +02:00
tmacro.h staging: vt6655: Modify comment style of SPDX License Identifier 2019-03-26 05:41:28 +09:00
upc.h staging: vt6655: upc: remove double blank lines 2019-04-16 13:44:30 +02:00