[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 9 Sep 2022 09:48:10 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: xkernel.wang@...mail.com
Cc: linux-staging@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] staging: rtl8723bs: fix potential memory leak in
rtw_init_drv_sw()
On Thu, Sep 08, 2022 at 03:31:25PM +0800, xkernel.wang@...mail.com wrote:
> From: Xiaoke Wang <xkernel.wang@...mail.com>
>
> In rtw_init_drv_sw(), there are various init functions are called to
> populate the padapter structure and some checks for their return value.
> However, except for the first one error path, the other five error paths
> do not properly release the previous allocated resources, which leads to
You have trailing whitespace on your text :(
> various memory leaks.
>
> This patch fixes them and keeps the success and error separate. As there
> is no FooBar device to test with, no runtime testing was performed.
What do you mean by "FooBar"? Please fix that up.
thanks,
greg k-h
Powered by blists - more mailing lists