app/pdump: call EAL cleanup before exit
authorHarry van Haaren <harry.van.haaren@intel.com>
Mon, 29 Jan 2018 16:37:31 +0000 (16:37 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jan 2018 19:33:53 +0000 (20:33 +0100)
This patch adds a call to the newly introduced cleanup()
function just before quitting the pdump app.

Adding this function call before quitting from a secondary processes
is important, as otherwise it will leak hugepage memory. For a secondary
process that is run multiple times, this could cause hugepage memory
to become depleted and stop a secondary process from starting.

Signed-off-by: Harry van Haaren <harry.van.haaren@intel.com>
Acked-by: Vipin Varghese <vipin.varghese@intel.com>

No differences found