app/procinfo: call EAL cleanup before exit
[dpdk.git] / app / proc_info / main.c
index 94d53f5..2f53e3c 100644 (file)
@@ -660,5 +660,9 @@ main(int argc, char **argv)
        if (enable_metrics)
                metrics_display(RTE_METRICS_GLOBAL);
 
+       ret = rte_eal_cleanup();
+       if (ret)
+               printf("Error from rte_eal_cleanup(), %d\n", ret);
+
        return 0;
 }