[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b684a76e-7d22-fece-5358-f459e4a979ff@lwfinger.net>
Date: Thu, 13 Jul 2023 13:51:00 -0500
From: Larry Finger <Larry.Finger@...inger.net>
To: Your Name <namcaov@...il.com>
Cc: gregkh@...uxfoundation.org, linux-staging@...ts.linux.dev,
linux-kernel@...r.kernel.org, linux-wireless@...r.kernel.org,
syzbot+cf71097ffb6755df8251@...kaller.appspotmail.com,
stable@...r.kernel.org
Subject: Re: [PATCH] staging: 7811: Fix memory leak in _r8712_init_xmit_priv
On 7/13/23 12:35, Your Name wrote:
> The allocation was done in a loop. Shouldn't memory from previous loop iterations
> also be freed? And allocation by r8712_xmit_resource_alloc() should be freed too.
Nam,
You are right on both counts. I will prepare version 2.
Larry
Powered by blists - more mailing lists