diff options
author | 2022-11-29 12:19:33 +0100 | |
---|---|---|
committer | 2022-12-11 08:33:31 -0600 | |
commit | 01f6c61bae3d658058ee6322af77acea26a5ee3a (patch) | |
tree | 4ac258cf63e51c386ca17a351397d892c7dfffcd /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | ksmbd: Fix resource leak in ksmbd_session_rpc_open() (diff) | |
download | wireguard-linux-01f6c61bae3d658058ee6322af77acea26a5ee3a.tar.xz wireguard-linux-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 <mmakassikis@freebox.fr>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions