mempool: fix leak when no objects are populated
authorAndrew Rybchenko <arybchenko@solarflare.com>
Mon, 16 Apr 2018 13:24:30 +0000 (14:24 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 23 Apr 2018 23:28:53 +0000 (01:28 +0200)
commit25e6755056eaba45921b898b9986af68277ac6ac
tree13d9c0feb053925244eb83121480af335f1c4efc
parentd550a8cc31f3cee0e30918ef3d12a74cf580616e
mempool: fix leak when no objects are populated

Fixes: 84121f197187 ("mempool: store memory chunks in a list")
Cc: stable@dpdk.org
Suggested-by: Olivier Matz <olivier.matz@6wind.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mempool/rte_mempool.c