Re: [PATCH] net: qrtr: fix memort leak in qrtr_tun_write_iter
From: David Miller
Date: Wed Sep 11 2019 - 04:13:25 EST
From: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Date: Tue, 10 Sep 2019 19:37:45 -0500
> In qrtr_tun_write_iter the allocated kbuf should be release in case of
> error happening.
>
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
Shouldn't it also be freed in case of success too?