diff options
author | Colin Ian King <[email protected]> | 2019-09-18 11:11:56 +0100 |
---|---|---|
committer | Marc Kleine-Budde <[email protected]> | 2019-11-04 21:47:23 +0100 |
commit | db1a804cca6fe0cea9dea888d50dda134713c340 (patch) | |
tree | cd71ea3ee0737904a133bf93ad059cf24a5ee767 /tools/perf/scripts/python | |
parent | b5018be6d5dd9dd257bf8236298daac8b1262750 (diff) |
can: j1939: fix resource leak of skb on error return paths
Currently the error return paths do not free skb and this results in a
memory leak. Fix this by freeing them before the return.
Addresses-Coverity: ("Resource leak")
Fixes: 9d71dd0c7009 ("can: add support of SAE J1939 protocol")
Signed-off-by: Colin Ian King <[email protected]>
Acked-by: Oleksij Rempel <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions