[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZVYFa5s4l_v4Oz0J@renaissance-vector>
Date: Thu, 16 Nov 2023 13:04:59 +0100
From: Andrea Claudi <aclaudi@...hat.com>
To: heminhong <heminhong@...inos.cn>
Cc: petrm@...dia.com, netdev@...r.kernel.org, stephen@...workplumber.org
Subject: Re: [PATCH v4] iproute2: prevent memory leak
On Thu, Nov 16, 2023 at 11:13:08AM +0800, heminhong wrote:
> When the return value of rtnl_talk() is not less than 0,
> 'answer' will be allocated. The 'answer' should be free
> after using, otherwise it will cause memory leak.
>
> Signed-off-by: heminhong <heminhong@...inos.cn>
Reviewed-by: Andrea Claudi <aclaudi@...hat.com>
Powered by blists - more mailing lists