summaryrefslogtreecommitdiff
path: root/fs/udf/inode.c
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2023-01-04 09:51:46 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-18 13:30:50 +0300
commit3acf3783a84cbdf0c9f8cf2f32ee9c49af93a2da (patch)
treef8bcbc14b834124f2c97e6e12550fb83ac5de095 /fs/udf/inode.c
parent02ffb4ecf0614c58e3d0e5bfbe99588c9ddc77c0 (diff)
downloadlinux-3acf3783a84cbdf0c9f8cf2f32ee9c49af93a2da.tar.xz
caif: fix memory leak in cfctrl_linkup_request()
[ Upstream commit fe69230f05897b3de758427b574fc98025dfc907 ] When linktype is unknown or kzalloc failed in cfctrl_linkup_request(), pkt is not released. Add release process to error path. Fixes: b482cd2053e3 ("net-caif: add CAIF core protocol stack") Fixes: 8d545c8f958f ("caif: Disconnect without waiting for response") Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230104065146.1153009-1-shaozhengchao@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'fs/udf/inode.c')
0 files changed, 0 insertions, 0 deletions