Function create_mp_ring_vdev() for failure cases exits without freeing the created rte rings, because of this, pdump tool cannot be rerun successfully. Added rte ring cleanup logic upon failures. Fixes: caa7028276b8 ("app/pdump: add tool for packet capturing") Signed-off-by: Reshma Pattan <reshma.pattan@intel.com> Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>