aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorFelipe F. Tonello <[email protected]>2015-11-10 17:52:06 +0000
committerFelipe Balbi <[email protected]>2015-11-19 20:48:50 +0000
commitad0d1a058eac46503edbc510d1ce44c5df8e0c91 (patch)
tree797ca5e8b8f7baad0c30f4c796b292a441cfb964 /net/unix/af_unix.c
parentusb: gadget: f_midi: Transmit data only when IN ep is enabled (diff)
downloadkernel-ad0d1a058eac46503edbc510d1ce44c5df8e0c91.tar.gz
kernel-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 <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions