summaryrefslogtreecommitdiff
path: root/fs/jbd2
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2020-08-14 07:55:01 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-03 11:21:19 +0200
commit7d0806c7e3561a5a9d9dd4f31b83cec6a7688db3 (patch)
tree79ba1f062faeefecabfff39c359a2fe3c9cba94b /fs/jbd2
parentb32abe570ea99fa4c7538b88a1c95bc28a7872f4 (diff)
usb: gadget: f_tcm: Fix some resource leaks in some error paths
[ Upstream commit 07c8434150f4eb0b65cae288721c8af1080fde17 ] If a memory allocation fails within a 'usb_ep_alloc_request()' call, the already allocated memory must be released. Fix a mix-up in the code and free the correct requests. Fixes: c52661d60f63 ("usb-gadget: Initial merge of target module for UASP + BOT") Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/jbd2')
0 files changed, 0 insertions, 0 deletions