test/distributor: fix mbuf leak on failure
test/distributor: fix mbuf leak on failure

rte_mempool_get_bulk is used to get bufs/many_bufs from the pool,
but at some locations when test fails the bufs/many_bufs are
not returned back to the pool.
Due to this, multiple executions of distributor_autotest gives the
following error message: Error getting mbufs from pool.
To resolve this issue rte_mempool_put_bulk is used whenever the test
fails and returns.

Fixes: c3eabff124e6 ("distributor: add unit tests")
Cc: stable@dpdk.org

Signed-off-by: Sarosh Arif <701b58c7cb2b006b3a7612646904b47eba236db5@emumba.com>
Acked-by: Lukasz Wojciechowski <a2d89656bbb2a6e8a64a294f13639c7f6683f95e@partner.samsung.com>
Reviewed-by: David Hunt <763be7c8e0ad91e03160e7aed76d5cd41534e2f9@intel.com>

john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk