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/packet_ordering: enhance getopt_long usage
[dpdk.git]
/
lib
/
librte_pipeline
/
rte_swx_ctl.c
diff --git
a/lib/librte_pipeline/rte_swx_ctl.c
b/lib/librte_pipeline/rte_swx_ctl.c
index
576fb2b
..
ee6df45
100644
(file)
--- a/
lib/librte_pipeline/rte_swx_ctl.c
+++ b/
lib/librte_pipeline/rte_swx_ctl.c
@@
-371,7
+371,7
@@
table_entry_duplicate(struct rte_swx_ctl_pipeline *ctl,
}
}
- return entry;
+ return
new_
entry;
error:
table_entry_free(new_entry);
@@
-1463,6
+1463,7
@@
rte_swx_ctl_pipeline_table_entry_read(struct rte_swx_ctl_pipeline *ctl,
arg_offset += arg->n_bits / 8;
}
+ free(s0);
return entry;
error: