]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
USB: qcserial: fix a memory leak in qcprobe error path
authorAxel Lin <axel.lin@gmail.com>
Mon, 21 Jun 2010 00:44:17 +0000 (08:44 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:06 +0000 (08:16 -0700)
commit0d152de56938361fa2b960db67657b20cdaa6d84
treebb5c65990a747423ef283fd56e9ff40444e26f9f
parent10ca4425714a6115c5d865718d64874a1e1ea09a
USB: qcserial: fix a memory leak in qcprobe error path

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

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/qcserial.c