summaryrefslogtreecommitdiffstats
path: root/drivers/pwm/pwm-imx27.c
diff options
context:
space:
mode:
authorZhengchao Shao <shaozhengchao@huawei.com>2023-01-04 07:51:46 +0100
committerPaolo Abeni <pabeni@redhat.com>2023-01-05 10:19:36 +0100
commitfe69230f05897b3de758427b574fc98025dfc907 (patch)
tree296cf81b112ae99a8693d7b7af43ba0a1a0f1780 /drivers/pwm/pwm-imx27.c
parentinet: control sockets should not use current thread task_frag (diff)
downloadlinux-fe69230f05897b3de758427b574fc98025dfc907.tar.xz
linux-fe69230f05897b3de758427b574fc98025dfc907.zip
caif: fix memory leak in cfctrl_linkup_request()
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>
Diffstat (limited to 'drivers/pwm/pwm-imx27.c')
0 files changed, 0 insertions, 0 deletions