null: fix memory leak of kvargs
authorTetsuya Mukawa <mukawa@igel.co.jp>
Tue, 17 Mar 2015 04:12:41 +0000 (13:12 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Mar 2015 21:58:21 +0000 (22:58 +0100)
commit6e225d6a21c10ea3a83fd6fc5a2bc2d7f27bf841
tree3c839aba3ab70d15a6ead622860bde2eea2c024c
parent8eb680e452ceb42a9bfa994ea822e4b1cbefcc37
null: fix memory leak of kvargs

'struct rte_kvargs' is allocated in rte_kvargs_parse(), and should be
freed with rte_kvargs_free().

Reported-by: John Mcnamara <john.mcnamara@intel.com>
Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_pmd_null/rte_eth_null.c