aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorXiu Jianfeng <[email protected]>2022-11-16 12:22:37 +0000
committerSteve French <[email protected]>2022-12-11 14:33:31 +0000
commitbc044414fa0326a4e5c3c509c00b1fcaf621b5f4 (patch)
tree47c84c8187124ab9480207df68f410259f846090 /lib/fault-inject.c
parentksmbd: replace one-element arrays with flexible-array members (diff)
downloadkernel-bc044414fa0326a4e5c3c509c00b1fcaf621b5f4.tar.gz
kernel-bc044414fa0326a4e5c3c509c00b1fcaf621b5f4.zip
ksmbd: Fix resource leak in ksmbd_session_rpc_open()
When ksmbd_rpc_open() fails then it must call ksmbd_rpc_id_free() to undo the result of ksmbd_ipc_id_alloc(). Fixes: e2f34481b24d ("cifsd: add server-side procedures for SMB3") Signed-off-by: Xiu Jianfeng <[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