X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_pipeline%2Frte_swx_ctl.c;h=ee6df4544f5815475888c58e0e21da3e34b6a201;hb=5b38d8cd4663;hp=9d986a83eef0b679bdaddd23ec617397ff8f3298;hpb=bacfdd908d77819266c080a69b8492b993a0c89b;p=dpdk.git diff --git a/lib/librte_pipeline/rte_swx_ctl.c b/lib/librte_pipeline/rte_swx_ctl.c index 9d986a83ee..ee6df4544f 100644 --- 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);