examples: add eal cleanup to examples
[dpdk.git] / examples / kni / main.c
index fe93b86..beabb3c 100644 (file)
@@ -1140,5 +1140,8 @@ main(int argc, char** argv)
                        kni_port_params_array[i] = NULL;
                }
 
+       /* clean up the EAL */
+       rte_eal_cleanup();
+
        return 0;
 }