app/test: fix packet framework table unit tests
authorJasvinder Singh <jasvinder.singh@intel.com>
Mon, 12 Sep 2016 11:05:52 +0000 (12:05 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 23 Sep 2016 16:50:19 +0000 (18:50 +0200)
commita0d655ee2fe6d9223664ef7baae9b0b656298f29
treeb9a4f38fe6d088a98c2e8d7a78ea8ac2e91dca99
parent1c03be3c61372541e706c415022b1b52566ff913
app/test: fix packet framework table unit tests

The pipeline object is not freed when a particular test-case of the
unit-test finishes. Using rte_pipeline_free() before returning the
outcome for each test-case fixes the issue.

Fixes: 5205954791cb ("app/test: packet framework unit tests")

Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
app/test/test_table_combined.c