aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-12-24 17:36:42 +0000
committerChristian Brauner <[email protected]>2023-12-28 10:48:17 +0000
commit8ff363ade395e72dc639810b6f59849c743c363e (patch)
tree60a1492a25b8d2c8b6cc0a39f2ef08e9b0e35371 /drivers/usb/cdns3/cdns3-ti.c
parentsuper: don't bother with WARN_ON_ONCE() (diff)
downloadkernel-8ff363ade395e72dc639810b6f59849c743c363e.tar.gz
kernel-8ff363ade395e72dc639810b6f59849c743c363e.zip
block: Fix a memory leak in bdev_open_by_dev()
If we early exit here, 'handle' needs to be freed, or some memory leaks. Fixes: ed5cc702d311 ("block: Add config option to not allow writing to mounted devices") Signed-off-by: Christophe JAILLET <[email protected]> Link: https://lore.kernel.org/r/8eaec334781e695810aaa383b55de00ca4ab1352.1703439383.git.christophe.jaillet@wanadoo.fr Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Jens Axboe <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions