Skip to content
Commit 5f711a67 authored by Navid Emamdoost's avatar Navid Emamdoost Committed by Paul Gortmaker
Browse files

staging: vt6655: Fix memory leak in vt6655_probe



commit 80b15db5 upstream.

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: 67013f2c ("staging: vt6655: mac80211 conversion add main mac80211 functions")
Signed-off-by: default avatarNavid 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent e72f973d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment