]> git.droids-corp.org - dpdk.git/blobdiff - app/proc_info/main.c
app/procinfo: call EAL cleanup before exit
[dpdk.git] / app / proc_info / main.c
index 94d53f5d50fc7240c4ef7508f4399e03d9b7b9cb..2f53e3caa44fec66295fa0bcaa9eecc95abcaccb 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;
 }