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)
commitb4f28a98ea64b6cb009bb03810e8a8dd08767f46
tree8a2754e4611d96efc421fcef3a6b1d7555ea1f60
parent0156cf8603b86c949d02aa315684b4c677e66638
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