From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fan Zhang Subject: [PATCH] example/ip_pipeline: fix logically deadnode defect Date: Fri, 11 Dec 2015 11:29:09 +0000 Message-ID: <1449833351-10011-4-git-send-email-roy.fan.zhang@intel.com> References: <1449833351-10011-1-git-send-email-roy.fan.zhang@intel.com> To: dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AE6688E7A for ; Fri, 11 Dec 2015 12:29:15 +0100 (CET) In-Reply-To: <1449833351-10011-1-git-send-email-roy.fan.zhang@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Coverity issue: 107109 Fixes: 7122d30131ad ("examples/ip_pipeline: rework flow classification pipeline") Signed-off-by: Fan Zhang Acked-by: Cristian Dumitrescu --- examples/ip_pipeline/pipeline/pipeline_flow_classification.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ip_pipeline/pipeline/pipeline_flow_classification.c b/examples/ip_pipeline/pipeline/pipeline_flow_classification.c index 76a152f..1921574 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); -- 2.5.0