Messages in this thread | | | Subject | Re: [PATCH][next] can: fix resource leak of skb on error return paths | From | Marc Kleine-Budde <> | Date | Tue, 1 Oct 2019 22:04:10 +0200 |
| |
On 9/18/19 12:11 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > 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 <colin.king@canonical.com>
Added to can.
tnx. Marc
-- Pengutronix e.K. | Marc Kleine-Budde | Industrial Linux Solutions | Phone: +49-231-2826-924 | Vertretung West/Dortmund | Fax: +49-5121-206917-5555 | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
[unhandled content-type:application/pgp-signature] | |