From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 8C90E2BF4 for ; Mon, 18 Jul 2016 14:59:12 +0200 (CEST) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 18 Jul 2016 05:59:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,384,1464678000"; d="scan'208";a="1023914811" Received: from irsmsx152.ger.corp.intel.com ([163.33.192.66]) by fmsmga002.fm.intel.com with ESMTP; 18 Jul 2016 05:59:05 -0700 Received: from irsmsx155.ger.corp.intel.com (163.33.192.3) by IRSMSX152.ger.corp.intel.com (163.33.192.66) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 18 Jul 2016 13:59:04 +0100 Received: from irsmsx109.ger.corp.intel.com ([169.254.13.193]) by irsmsx155.ger.corp.intel.com ([169.254.14.34]) with mapi id 14.03.0248.002; Mon, 18 Jul 2016 13:59:03 +0100 From: "Pattan, Reshma" To: "De Lara Guarch, Pablo" CC: "Doherty, Declan" , "dev@dpdk.org" Thread-Topic: [PATCH v2] crypto: fix memory leak Thread-Index: AQHR4PJrv0CCf1QsLkyA4YW1Cog116AeJb/Q Date: Mon, 18 Jul 2016 12:59:03 +0000 Message-ID: <3AEA2BF9852C6F48A459DA490692831F0105A721@IRSMSX109.ger.corp.intel.com> References: <1468843230-205038-1-git-send-email-pablo.de.lara.guarch@intel.com> <1468846036-228978-1-git-send-email-pablo.de.lara.guarch@intel.com> In-Reply-To: <1468846036-228978-1-git-send-email-pablo.de.lara.guarch@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiN2JjNjAyNTMtMjg2OS00YTljLWIwMmYtOGE1ZjM5ODQxZmQ2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IjdUOVlZVzNLblpRSTVvNEU2U0JzeGFZYkQ1czFZWmorZk9FWmVwY2M5d2M9In0= x-ctpclassification: CTP_IC x-originating-ip: [163.33.239.181] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] crypto: fix memory leak 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: Mon, 18 Jul 2016 12:59:13 -0000 > -----Original Message----- > From: De Lara Guarch, Pablo > Sent: Monday, July 18, 2016 1:47 PM > To: dev@dpdk.org > Cc: Doherty, Declan ; Pattan, Reshma > ; De Lara Guarch, Pablo > > Subject: [PATCH v2] crypto: fix memory leak >=20 > When parsing the parameters for virtual device initialization, rte_kvargs > structure was being freed only if there was an error, not when parsing wa= s > successful. >=20 > Coverity issue: 124568 >=20 > Fixes: f3e764fa2fb7 ("cryptodev: uninline parameter parsing") >=20 > Signed-off-by: Pablo de Lara Acked-by: Reshma Pattan