drivers/event: fix resource leak in selftest
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Mon, 22 Jan 2018 17:46:01 +0000 (23:16 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 24 Jan 2018 18:01:31 +0000 (19:01 +0100)
commite865cb4d1c53196f2a9f5d979ddebc6040754044
tree5213793b78344fcd6995af30fff6c2b2651dc85f
parentbe455196d4bb64c4fc681eddf9d2bd6aef2d9bee
drivers/event: fix resource leak in selftest

Free resources leak in eventdev selftests.

Coverity issue: 257044
Coverity issue: 257047
Coverity issue: 257009
Fixes: 9ef576176db0 ("test/eventdev: add octeontx multi queue and multi port")
Fixes: 3a17ff401f1e ("test/eventdev: add basic SW tests")
Fixes: 5e6eb5ccd788 ("event/sw: make test standalone")

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Harry van Haaren <harry.van.haaren@intel.com>
drivers/event/octeontx/ssovf_evdev_selftest.c
drivers/event/sw/sw_evdev_selftest.c