]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: debugfs: add a kfree() on error to dwc3_testmode_open()
authorDan Carpenter <error27@gmail.com>
Fri, 26 Aug 2011 09:21:13 +0000 (12:21 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:01:59 +0000 (13:01 +0300)
commit95f5bdbd0b83eec6a5aefca8827663f37366f917
tree8a2754e4611d96efc421fcef3a6b1d7555ea1f60
parent89610fe1852c8aa4b24ec56187b0dfba70533f01
usb: dwc3: debugfs: add a kfree() on error to dwc3_testmode_open()

We may as well fix this potential leak so we don't have to listen to
the static checkers complain.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/debugfs.c