[dpdk-dev] [PATCH v3] raw/ifpga: fix memory leak

Thomas Monjalon thomas at monjalon.net
Fri Jan 18 20:00:18 CET 2019


18/01/2019 12:14, Ferruh Yigit:
> From: Andy Pei <andy.pei at intel.com>
> 
> When ifpga_rawdev_create() allocate memory for a new rawdev,
> the original code allocate redundant memory for adapter,
> which is a member of the rawdev. What is actually necessary is
> the adapter to be initialized, not memory allocated.
> 
> Fixes: ef1e8ede3da5 ("raw/ifpga: add Intel FPGA bus rawdev driver")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Andy Pei <andy.pei at intel.com>
> Acked-by: Tianfei zhang <tianfei.zhang at intel.com>
> Acked-by: Rosen Xu <rosen.xu at intel.com>

Applied, thanks




More information about the dev mailing list