[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAEnQdOrvtYPghA1=4t9HfP=jSZE=2pHi9jR1mWyJgCNCPEG5Fw@mail.gmail.com>
Date: Wed, 16 Apr 2025 14:50:28 +0800
From: henry martin <bsdhenrymartin@...il.com>
To: Mark Bloch <mbloch@...dia.com>
Cc: saeedm@...dia.com, leon@...nel.org, tariqt@...dia.com,
andrew+netdev@...n.ch, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org, amirtz@...dia.com,
ayal@...dia.com
Subject: Re: [PATCH v5 2/2] net/mlx5: Fix memory leak in error path of ttc creation
> What about just moving the ttc allocation after the switch case?
Thanks for the suggestion. Moving the allocation after the switch statement is
indeed a cleaner approach.
Powered by blists - more mailing lists