From: Marc Kleine-Budde Date: Sat, 14 Dec 2013 13:36:25 +0000 (+0100) Subject: can: peak_usb: fix mem leak in pcan_usb_pro_init() X-Git-Tag: v3.13-rc5~30^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20fb4eb96fb0350d28fc4d7cbfd5506711079592;p=pandora-kernel.git can: peak_usb: fix mem leak in pcan_usb_pro_init() 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(). Cc: linux-stable # v3.10 Reported-by: Stephane Grosjean Signed-off-by: Marc Kleine-Budde --- Reading git-diff-tree failed