git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples: add eal cleanup to examples
[dpdk.git]
/
examples
/
helloworld
/
main.c
diff --git
a/examples/helloworld/main.c
b/examples/helloworld/main.c
index
8a4cee6
..
ac72145
100644
(file)
--- a/
examples/helloworld/main.c
+++ b/
examples/helloworld/main.c
@@
-43,5
+43,9
@@
main(int argc, char **argv)
lcore_hello(NULL);
rte_eal_mp_wait_lcore();
+
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}