Skip to content
Commit 0d152de5 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

USB: qcserial: fix a memory leak in qcprobe error path



This patch adds missing kfree(data) before return -ENODEV.

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 10ca4425
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment