From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 9CCC21B2FB for ; Tue, 16 Jan 2018 18:14:39 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 09:14:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,369,1511856000"; d="scan'208";a="193793699" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga005.jf.intel.com with ESMTP; 16 Jan 2018 09:14:37 -0800 Received: from fmsmsx153.amr.corp.intel.com (10.18.125.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 16 Jan 2018 09:14:36 -0800 Received: from fmsmsx151.amr.corp.intel.com ([169.254.7.245]) by FMSMSX153.amr.corp.intel.com ([169.254.9.194]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 09:14:36 -0800 From: "Wang, Yipeng1" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Gobriel, Sameh" Thread-Topic: [PATCH v2] member: fix memory leak on error Thread-Index: AQHTi8oPCSgKKw4y1EadKc5kDUwbiKN2wdpA Date: Tue, 16 Jan 2018 17:14:36 +0000 Message-ID: References: <5c0a540f8917604a86e18f8da77fa0c2013b7fde.1513865858.git.anatoly.burakov@intel.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZjhiMGFiNzctZjIzYi00OWFjLTk3M2YtZDhkMWJlODdlYWIzIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6IjB6TXlHV2F0ejY3aHVTNkRXQUMwVXJsdTg1S0s0R3duTkk0MHcxVHlnaVU9In0= x-originating-ip: [10.1.200.108] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] member: fix memory leak on error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 17:14:40 -0000 >-----Original Message----- >From: Burakov, Anatoly >Sent: Friday, January 12, 2018 9:23 AM >To: dev@dpdk.org >Cc: Wang, Yipeng1 ; Gobriel, Sameh >Subject: [PATCH v2] member: fix memory leak on error > >rte_member may have allocated a tailq entry or setum before failure, >so free them. > >Fixes: 857ed6c68cf2 ("member: implement main API") >Cc: yipeng1.wang@intel.com >Signed-off-by: Anatoly Burakov >--- Acked-by: Yipeng Wang Thanks