diff options
author | Felipe F. Tonello <eu@felipetonello.com> | 2015-11-10 18:52:06 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-11-19 21:48:50 +0100 |
commit | ad0d1a058eac46503edbc510d1ce44c5df8e0c91 (patch) | |
tree | 797ca5e8b8f7baad0c30f4c796b292a441cfb964 /drivers/vme | |
parent | usb: gadget: f_midi: Transmit data only when IN ep is enabled (diff) | |
download | linux-ad0d1a058eac46503edbc510d1ce44c5df8e0c91.tar.xz linux-ad0d1a058eac46503edbc510d1ce44c5df8e0c91.zip |
usb: gadget: f_midi: fix leak on failed to enqueue out requests
This patch fixes a memory leak that occurs when an endpoint fails to enqueue
the request. If that happens the complete function will never be called, thus
never freeing the request.
Signed-off-by: Felipe F. Tonello <eu@felipetonello.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/vme')
0 files changed, 0 insertions, 0 deletions