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
net/qede/base: change valloc to vzalloc
[dpdk.git]
/
examples
/
l2fwd-keepalive
/
shm.c
diff --git
a/examples/l2fwd-keepalive/shm.c
b/examples/l2fwd-keepalive/shm.c
index
66fc433
..
177aa5b
100644
(file)
--- a/
examples/l2fwd-keepalive/shm.c
+++ b/
examples/l2fwd-keepalive/shm.c
@@
-80,6
+80,8
@@
struct rte_keepalive_shm *rte_keepalive_shm_create(void)
RTE_LOG(INFO, EAL,
"Failed to setup SHM semaphore (%s)\n",
strerror(errno));
+ munmap(ka_shm,
+ sizeof(struct rte_keepalive_shm));
return NULL;
}