app/pdump: free mempool at resources cleanup

The mempool should be free when cleanup resources.

Signed-off-by: Tianli Lai <laitianli@tom.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Tianli Lai 2022-02-25 09:00:37 +08:00 committed by Thomas Monjalon
parent 3ee04ebc91
commit a8a1c40bda

View File

@ -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);
}
}