commit | ad0d1a058eac46503edbc510d1ce44c5df8e0c91 | [log] [tgz] |
---|---|---|
author | Felipe F. Tonello <eu@felipetonello.com> | Tue Nov 10 17:52:06 2015 +0000 |
committer | Felipe Balbi <balbi@ti.com> | Thu Nov 19 14:48:50 2015 -0600 |
tree | 797ca5e8b8f7baad0c30f4c796b292a441cfb964 | |
parent | e9ca7e4bb30cbf4c8d2e2e34681a967c10b3ff54 [diff] |
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>