From: Fan Zhang Date: Fri, 11 Dec 2015 11:29:09 +0000 (+0000) Subject: examples/ip_pipeline: fix logically dead node X-Git-Tag: spdx-start~7762 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=14f819a6613eaa84d407a3769e0bf12056a2eee5;p=dpdk.git examples/ip_pipeline: fix logically dead node Coverity issue: 107109 Fixes: 7122d30131ad ("examples/ip_pipeline: rework flow classification pipeline") Signed-off-by: Fan Zhang Acked-by: Cristian Dumitrescu Acked-by: John McNamara --- diff --git a/examples/ip_pipeline/pipeline/pipeline_flow_classification.c b/examples/ip_pipeline/pipeline/pipeline_flow_classification.c index 76a152f63c..192157486d 100644 --- a/examples/ip_pipeline/pipeline/pipeline_flow_classification.c +++ b/examples/ip_pipeline/pipeline/pipeline_flow_classification.c @@ -448,7 +448,7 @@ app_pipeline_fc_add_bulk(struct app_params *app, flow_rsp = rte_malloc(NULL, n_keys * sizeof(struct pipeline_fc_add_bulk_flow_rsp), RTE_CACHE_LINE_SIZE); - if (flow_req == NULL) { + if (flow_rsp == NULL) { rte_free(flow_req); rte_free(new_flow); rte_free(signature);