diff options
author | Alexandra Winter <wintera@linux.ibm.com> | 2022-05-10 10:05:07 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-18 10:18:06 +0300 |
commit | d886b4292a1c5b4facdb2dfdc31f0fecc71df898 (patch) | |
tree | 4d4a5d34820fe2ce8b40d51b67958ef366178f3d /drivers/pinctrl/pinctrl-lpc18xx.c | |
parent | 84043557408997d2bd2b152bd223688395aea481 (diff) | |
download | linux-d886b4292a1c5b4facdb2dfdc31f0fecc71df898.tar.xz |
s390/ctcm: fix potential memory leak
[ Upstream commit 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a ]
smatch complains about
drivers/s390/net/ctcm_mpc.c:1210 ctcmpc_unpack_skb() warn: possible memory leak of 'mpcginfo'
mpc_action_discontact() did not free mpcginfo. Consolidate the freeing in
ctcmpc_unpack_skb().
Fixes: 293d984f0e36 ("ctcm: infrastructure for replaced ctc driver")
Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/pinctrl/pinctrl-lpc18xx.c')
0 files changed, 0 insertions, 0 deletions