examples: add eal cleanup to examples
[dpdk.git] / examples / ptpclient / ptpclient.c
index 878d1a0..173451e 100644 (file)
@@ -784,5 +784,8 @@ main(int argc, char *argv[])
        /* Call lcore_main on the main core only. */
        lcore_main();
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }