Commit ccb8dd8e authored by Oliver Neukum's avatar Oliver Neukum Committed by Xie XiuQi
Browse files

USB: rio500: fix memory leak in close after disconnect



commit e0feb734 upstream.

If a disconnected device is closed, rio_close() must free
the buffers.

Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 0221cb9d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment