[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190911.101320.682967997452798874.davem@davemloft.net>
Date: Wed, 11 Sep 2019 10:13:20 +0200 (CEST)
From: David Miller <davem@...emloft.net>
To: navid.emamdoost@...il.com
Cc: emamd001@....edu, smccaman@....edu, kjlu@....edu,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: qrtr: fix memort leak in qrtr_tun_write_iter
From: Navid Emamdoost <navid.emamdoost@...il.com>
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@...il.com>
Shouldn't it also be freed in case of success too?
Powered by blists - more mailing lists