Files
linux/drivers/net/can
Marc Kleine-Budde b52cc5df78 can: peak_usb: fix mem leak in pcan_usb_pro_init()
commit 20fb4eb96f upstream.

This patch fixes a memory leak in pcan_usb_pro_init(). In patch

    f14e224 net: can: peak_usb: Do not do dma on the stack

the struct pcan_usb_pro_fwinfo *fi and struct pcan_usb_pro_blinfo *bi were
converted from stack to dynamic allocation va kmalloc(). However the
corresponding kfree() was not introduced.

This patch adds the missing kfree().

Reported-by: Stephane Grosjean <s.grosjean@peak-system.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-01-09 12:24:20 -08:00
..
2012-12-03 11:16:11 -08:00
2012-12-03 11:16:11 -08:00
2013-03-27 13:07:08 +01:00
2013-01-26 16:58:59 +01:00
2013-01-28 18:17:25 -05:00