summaryrefslogtreecommitdiffstats
path: root/net/batman-adv/debugfs.c
diff options
context:
space:
mode:
authorDavid Cohen <david.a.cohen@linux.intel.com>2013-09-12 02:42:47 +0200
committerFelipe Balbi <balbi@ti.com>2013-09-17 18:05:01 +0200
commite1f804676a95b9d5caaa3a822d90bc1101595468 (patch)
treec48ac2f81d78af981ea2415b4a6dc10178956c6d /net/batman-adv/debugfs.c
parentusb: dwc3: remove extcon dependency (diff)
downloadlinux-e1f804676a95b9d5caaa3a822d90bc1101595468.tar.xz
linux-e1f804676a95b9d5caaa3a822d90bc1101595468.zip
usb: dwc3: gadget: avoid memory leak when failing to allocate all eps
If dwc3_gadget_init_endpoint() fails after allocate some of the eps, we need to free their memory to avoid leak. Signed-off-by: David Cohen <david.a.cohen@linux.intel.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'net/batman-adv/debugfs.c')
0 files changed, 0 insertions, 0 deletions