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
/
vhost_blk
/
vhost_blk.c
diff --git
a/examples/vhost_blk/vhost_blk.c
b/examples/vhost_blk/vhost_blk.c
index
54f81b3
..
fe2b4e4
100644
(file)
--- a/
examples/vhost_blk/vhost_blk.c
+++ b/
examples/vhost_blk/vhost_blk.c
@@
-907,5
+907,8
@@
int main(int argc, char *argv[])
while (1)
sleep(1);
+ /* clean up the EAL */
+ rte_eal_cleanup();
+
return 0;
}