Fixes: b32c0a2c5e ("pipeline: add SWX table update high level API")
Coverity issue: 362741

Signed-off-by: Cristian Dumitrescu <cristian.dumitre...@intel.com>
---
 lib/librte_pipeline/rte_swx_ctl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/librte_pipeline/rte_swx_ctl.c 
b/lib/librte_pipeline/rte_swx_ctl.c
index 576fb2bf3..9d986a83e 100644
--- a/lib/librte_pipeline/rte_swx_ctl.c
+++ b/lib/librte_pipeline/rte_swx_ctl.c
@@ -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:
-- 
2.17.1

Reply via email to