app/testpmd: fix potential memory leak
authorKirill Rybalchenko <kirill.rybalchenko@intel.com>
Thu, 2 Nov 2017 10:13:41 +0000 (10:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Nov 2017 08:03:02 +0000 (08:03 +0000)
commit6b663dae3f7d0bc0e1f3f35f1ae561ab72f276cb
treeaa18965b3dd4463e24e3093e659b09b6b32ede2b
parentb2c3f15f84262c537197a86409335a8751fb3f6b
app/testpmd: fix potential memory leak

Fix potential memory leak in cmd_ddp_info_parsed() function.

Coverity issue: 195044
Fixes: a8e005696c7b ("app/testpmd: get ddp profile protocol info")

Signed-off-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/cmdline.c