examples: add eal cleanup to examples
[dpdk.git] / examples / ioat / ioatfwd.c
index 6502e45..845301a 100644 (file)
@@ -1011,6 +1011,9 @@ main(int argc, char **argv)
                        rte_ring_free(cfg.ports[i].rx_to_tx_ring);
        }
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        printf("Bye...\n");
        return 0;
 }