]> git.droids-corp.org - dpdk.git/blobdiff - examples/ptpclient/ptpclient.c
examples: add eal cleanup to examples
[dpdk.git] / examples / ptpclient / ptpclient.c
index 878d1a0b999cc7b1c4a5cacb8633d7dc8dfa1163..173451eedcbed171f602f1fd45834e1d02783cb0 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;
 }