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
doc: add GRE option flow item to feature list
[dpdk.git]
/
examples
/
l2fwd-cat
/
cat.c
diff --git
a/examples/l2fwd-cat/cat.c
b/examples/l2fwd-cat/cat.c
index
502c6b3
..
77154c8
100644
(file)
--- a/
examples/l2fwd-cat/cat.c
+++ b/
examples/l2fwd-cat/cat.c
@@
-872,8
+872,7
@@
cat_fini(void)
#if PQOS_VERSION <= 103
memset(m_sockets, 0, sizeof(m_sockets));
#else
- if (m_sockets != NULL)
- free(m_sockets);
+ free(m_sockets);
#endif
m_sock_count = 0;
memset(m_config, 0, sizeof(m_config));