event/dlb2: add v2.5 create LDB queue
[dpdk.git] / examples / vhost_crypto / main.c
index efae997..dea7dcb 100644 (file)
@@ -229,7 +229,7 @@ vhost_crypto_parse_args(int argc, char **argv)
 
        argvopt = argv;
 
-       while ((opt = getopt_long(argc, argvopt, "s:",
+       while ((opt = getopt_long(argc, argvopt, "",
                                  lgopts, &option_index)) != EOF) {
 
                if (opt == '?') {
@@ -469,6 +469,9 @@ free_resource(void)
        }
 
        memset(&options, 0, sizeof(options));
+
+       /* clean up the EAL */
+       rte_eal_cleanup();
 }
 
 int