From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP; 11 Dec 2015 03:29:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,413,1444719600"; d="scan'208";a="616378414" Received: from sie-lab-212-033.ir.intel.com (HELO silpixa00383881.ir.intel.com) ([10.237.212.33]) by FMSMGA003.fm.intel.com with ESMTP; 11 Dec 2015 03:29:14 -0800 From: Fan Zhang To: dev@dpdk.org Date: Fri, 11 Dec 2015 11:29:09 +0000 Message-Id: <1449833351-10011-4-git-send-email-roy.fan.zhang@intel.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1449833351-10011-1-git-send-email-roy.fan.zhang@intel.com> References: <1449833351-10011-1-git-send-email-roy.fan.zhang@intel.com> Subject: [dpdk-dev] [PATCH] example/ip_pipeline: fix logically deadnode defect X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Dec 2015 11:29:16 -0000 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