aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorMarios Makassikis <[email protected]>2022-11-29 11:19:33 +0000
committerSteve French <[email protected]>2022-12-11 14:33:31 +0000
commit01f6c61bae3d658058ee6322af77acea26a5ee3a (patch)
tree4ac258cf63e51c386ca17a351397d892c7dfffcd /lib/fault-inject.c
parentksmbd: Fix resource leak in ksmbd_session_rpc_open() (diff)
downloadkernel-01f6c61bae3d658058ee6322af77acea26a5ee3a.tar.gz
kernel-01f6c61bae3d658058ee6322af77acea26a5ee3a.zip
ksmbd: Fix resource leak in smb2_lock()
"flock" is leaked if an error happens before smb2_lock_init(), as the lock is not added to the lock_list to be cleaned up. Signed-off-by: Marios Makassikis <[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions