examples: add eal cleanup to examples
[dpdk.git] / examples / vhost_crypto / main.c
index 7ed38fe..dea7dcb 100644 (file)
@@ -469,6 +469,9 @@ free_resource(void)
        }
 
        memset(&options, 0, sizeof(options));
+
+       /* clean up the EAL */
+       rte_eal_cleanup();
 }
 
 int