diff options
| author | Alexandra Winter <[email protected]> | 2022-05-10 09:05:07 +0200 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2022-05-11 12:31:01 +0100 |
| commit | 0c0b20587b9f25a2ad14db7f80ebe49bdf29920a (patch) | |
| tree | d3adefa41acdd905aa1663c737ae0ff9d8ad5f90 /lib/string_helpers.c | |
| parent | 2c50c6867c85afee6f2b3bcbc50fc9d0083d1343 (diff) | |
s390/ctcm: fix potential memory leak
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions