From: Stelian Pop Date: Thu, 3 Apr 2008 12:51:41 +0000 (+0200) Subject: atmel_usba_udc: Add missing kfree() in usba_udc_remove() X-Git-Tag: v2.6.26-rc1~1128^2~16^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5275653fa12b30cea6e309cc03e518bfd00073a5;p=linux-2.6-omap-h63xx.git atmel_usba_udc: Add missing kfree() in usba_udc_remove() Signed-off-by: Stelian Pop Signed-off-by: Haavard Skinnemoen --- diff --git a/drivers/usb/gadget/atmel_usba_udc.c b/drivers/usb/gadget/atmel_usba_udc.c index 71d3c5171f8..ddb7301a013 100644 --- a/drivers/usb/gadget/atmel_usba_udc.c +++ b/drivers/usb/gadget/atmel_usba_udc.c @@ -1998,6 +1998,7 @@ static int __exit usba_udc_remove(struct platform_device *pdev) gpio_free(udc->vbus_pin); free_irq(udc->irq, udc); + kfree(usba_ep); iounmap(udc->fifo); iounmap(udc->regs); clk_put(udc->hclk);