From a8a1c40bdae2bf54cfd9ab4a0f46125ef2f54ce2 Mon Sep 17 00:00:00 2001 From: Tianli Lai Date: Fri, 25 Feb 2022 09:00:37 +0800 Subject: [PATCH] app/pdump: free mempool at resources cleanup The mempool should be free when cleanup resources. Signed-off-by: Tianli Lai Acked-by: Stephen Hemminger --- app/pdump/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/app/pdump/main.c b/app/pdump/main.c index 96fa76f8da..c6cf9d9c87 100644 --- a/app/pdump/main.c +++ b/app/pdump/main.c @@ -507,6 +507,7 @@ cleanup_rings(void) /* free the rings */ rte_ring_free(pt->rx_ring); rte_ring_free(pt->tx_ring); + rte_mempool_free(pt->mp); } }