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:
parent
3ee04ebc91
commit
a8a1c40bda
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user