Skip to contentSkip to conversation

app/pdump: free mempool at cleanup resources

PATCH Applied Tianli Lai 3 participants 3 messages Feb 25, 2022 – Mar 7, 2022

lore
Share & tools
lore

Tianli Lai

author
#0 lore raw

PATCH 1/1 app/pdump: free mempool at cleanup resources

the mempool should be free when cleanup resources.

---
 app/pdump/main.c | 1 +
 1 file changed, 1 insertion(+)
app/pdump/main.c +1 -0
index 04a38e8..3fe17ea 100644
@@ -507,6 +507,7 @@ struct parse_val {
 		/* free the rings */
 		rte_ring_free(pt->rx_ring);
 		rte_ring_free(pt->tx_ring);
+		rte_mempool_free(pt->mp);
 	}
 }
 
Signature · 1 line
1.8.3.1