[dpdk-dev] [PATCH] mempool: fix leak when mempool creation fails

Thomas Monjalon thomas.monjalon at 6wind.com
Fri Feb 19 16:18:18 CET 2016


2016-02-16 15:40, Olivier Matz:
> Since commits ff909fe21f and 4e32101f9b, it is now possible to free
> memzones and rings.
> 
> The rte_mempool_create() should be modified to take advantage of this
> and not leak memory when an allocation fails.
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>

Applied, thanks



More information about the dev mailing list