[dpdk-dev] [PATCH v2] pcap, null: Fix memory leaks of 'struct rte_kvargs'

2015-03-17 Thread Thomas Monjalon
2015-03-17 13:12, Tetsuya Mukawa: > 'struct rte_kvargs' is allocated in rte_kvargs_parse(), and should be > freed with rte_kvargs_free(). > This patch fixes memory leaks of 'struct rte_kvargs' in below PMDs. > - pcap PMD > - null PMD > > Reported-by: Mcnamara, John > Signed-off-by: Tetsuya Muka

[dpdk-dev] [PATCH v2] pcap, null: Fix memory leaks of 'struct rte_kvargs'

2015-03-17 Thread Tetsuya Mukawa
'struct rte_kvargs' is allocated in rte_kvargs_parse(), and should be freed with rte_kvargs_free(). This patch fixes memory leaks of 'struct rte_kvargs' in below PMDs. - pcap PMD - null PMD Reported-by: Mcnamara, John Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_null/rte_eth_null.c | 13 +