[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200330.201436.2193008910602121027.davem@davemloft.net>
Date: Mon, 30 Mar 2020 20:14:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: gustavo@...eddedor.com
Cc: kuba@...nel.org, jacob.e.keller@...el.com, jiri@...lanox.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] netdevsim: dev: Fix memory leak in
nsim_dev_take_snapshot_write
From: "Gustavo A. R. Silva" <gustavo@...eddedor.com>
Date: Mon, 30 Mar 2020 18:27:02 -0500
> In case memory resources for dummy_data were allocated, release them
> before return.
>
> Addresses-Coverity-ID: 1491997 ("Resource leak")
> Fixes: 7ef19d3b1d5e ("devlink: report error once U32_MAX snapshot ids have been used")
> Signed-off-by: Gustavo A. R. Silva <gustavo@...eddedor.com>
Applied, thanks.
Powered by blists - more mailing lists