From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id BA619A04A3; Tue, 16 Jun 2020 07:53:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5C52314583; Tue, 16 Jun 2020 07:53:21 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id D71B854AE for ; Tue, 16 Jun 2020 07:53:19 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05G5oBjc015250; Mon, 15 Jun 2020 22:53:18 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=AYnj6fZgXx3NWqG6n882ZS3v2XgwOu/2LiJnofL0kjY=; b=it47d2sQcedkVoWoOLQ3pBVt3VVx5WkWSbD2di6cWzh1cZ7NaaPQA342lrDVt5aIsOAF gRUiTv3UAUOdygFSViHnYrWypB2+8AvXx1sOigyUGjV1sqGaFcQFHjkyR81qom6noZc5 fIOYO/FnCAN9jgG5BvVNg++nmhRd6oghUpGhSuWMLlfnkyysvCHvuZV0VbiKGT3Fperd b7ykcuS5D8Vod09s5jGcchMJ6lbT41Py3O5ftjRnIQnRVEEAT9FU3LJp8MUBod+8BXnf wMRAjxuQNTp+Ln5OzRCC17WdaiYAsgn4dTqemNmor4taoTWbXCVXzCb1c09iWWz23bqs DA== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0a-0016f401.pphosted.com with ESMTP id 31mv5qhanw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 15 Jun 2020 22:53:17 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 22:53:17 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 15 Jun 2020 22:53:16 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Mon, 15 Jun 2020 22:53:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YqaTSj3MKamNURlb707uiMZkrATOjeRQgpWFHQdaAUWnuiER1ybXCILzl4N6lJpaUtwHqU1+huYaeNjB6jsDQ+cU0WTqKlbp34mOUb7O9nBpUWs2ZQk/pKGMnoMJduNNUQ/9FAlUGU4EO43/EK4JNW5+17VMabegiTKrpGCvyZdHNxZSRa8613PFJKG78v8SSfV3Vh7FOIWnMLk32wBwDG5woqz5Nt3b617sNXdjabSy9rODCGMU9aC6V2U+rd1lCZ15F0/8eArmkVH13drQWz4VVb/plLvkbCo2xD2tO4r9hZp+wDE/OLN8Av/+C0lfeiNS2JLxBFdZ1Darr7gJdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AYnj6fZgXx3NWqG6n882ZS3v2XgwOu/2LiJnofL0kjY=; b=jomHjtGtKgN0gYYjvUdriMbPfHGWu6BzW0PBzAbvO+j9LVEiJO3x13Rb4X6DUPvBItgpsro3lY3eiGiOXABTUrCz2A0TB8qoid8eVDX/PdwKd6BWBAdwDse0OY9DEF3RC1doNAn9uaVWqE3JHwZGZXJfKIOcU3NSWx1Ps5KnnS4dy4DOVkTKU0+woH8cIqckXiLcaIiTMli0QJMQ/4xfCaNI+6h6oz4vT1erPqCySeNh/Zby06TdH+/POzDiaIMZ0HUjXveItUDuvleP5g8xpjP94ZqjPTSQin+s2a9WLeKwjyLvWBv4EJc9+T7zj1+HXTzZt2Lp9MZqDip6DhiZqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AYnj6fZgXx3NWqG6n882ZS3v2XgwOu/2LiJnofL0kjY=; b=ZCqTMiLhMXwPqFXDrh41EDvTQW5VvLxqcnfaRu+LWMtMCy+2AT96FgPy7zcndnKBDvLEr8xF2izM38EWh+m1WSEqnW0tVgmkOHGbxf2w/MwNffSzOZx0qKFLuyJMbw6XTagdzvUlZsqOUMtN07KeDfwwHU1XrqN1SUkZ/LR6Or8= Received: from BYAPR18MB2629.namprd18.prod.outlook.com (2603:10b6:a03:136::33) by BYASPR01MB0036.namprd18.prod.outlook.com (2603:10b6:a03:c1::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3088.18; Tue, 16 Jun 2020 05:53:15 +0000 Received: from BYAPR18MB2629.namprd18.prod.outlook.com ([fe80::b467:ec26:2c4b:1ae6]) by BYAPR18MB2629.namprd18.prod.outlook.com ([fe80::b467:ec26:2c4b:1ae6%7]) with mapi id 15.20.3088.029; Tue, 16 Jun 2020 05:53:14 +0000 From: Sunil Kumar Kori To: Muhammad Bilal CC: "declan.doherty@intel.com" , "tomasz.kantecki@intel.com" , "Pavan Nikhilesh Bhagavatula" , "dev@dpdk.org" , "jgrajcia@cisco.com" , "vipin.varghese@intel.com" Thread-Topic: [EXT] [PATCH 1/5] examples/l2fwd-event: free resources in case of error Thread-Index: AQHWLbs7IiZBopkxvk+4vFBt81nvaqivIz8AgBYzhYCADGfKUIAH/w4AgAEqqbA= Date: Tue, 16 Jun 2020 05:53:14 +0000 Message-ID: References: <20200519085444.4562-1-m.bilal@emumba.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: emumba.com; dkim=none (message not signed) header.d=none;emumba.com; dmarc=none action=none header.from=marvell.com; x-originating-ip: [171.76.144.101] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 625f660b-70ba-4e83-b3b5-08d811b98fa7 x-ms-traffictypediagnostic: BYASPR01MB0036: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 04362AC73B x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0S2j5cxc6O0sWBaNjc34CvW9ZqYJUyjEMWoN77QomWaZt6q3XMmsNf3cmIYetBveNuelQNaX2dyQNTEQOEJYVa1Ocj+LxMpkAkKJtjthAxOKeSBGbU1XnIKY4mXlAnKBTaNC6moYULu/PWhhwGNXDlCGxkZnj0lePLExJXN4z+pBrTcrzYBJ0j0zkbUf5j57HP6RZqYQPyvzQZQVmhowb2imBZC1RnLTbIVW6RBxK5ABJutMJpirfzWVMaRhkuzuU/8IlreT8O8vdaikuw/+MHGY1rFJV/ZpUXwLx2n9ZsSwecAKWW59g6ijbl/j6JtuqFGCp+s+M+epxDZvvvxw8LwR/k2wTmEO55i6QmBM/lJX3vaBTiUd5umMevQl/551kvjxGkeeTmf1CLMfQHbChg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR18MB2629.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(136003)(39850400004)(366004)(376002)(346002)(33656002)(66946007)(64756008)(66446008)(71200400001)(66476007)(76116006)(66556008)(52536014)(55016002)(6916009)(966005)(86362001)(6506007)(478600001)(8676002)(7696005)(5660300002)(186003)(8936002)(26005)(316002)(54906003)(2906002)(4326008)(9686003)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: HNev2ybzS6KpZ1RCO1yZMDhumVxo2Kt2bbg6f+I5SDqTwCMPwqmVVg4B4dZY6bgXEFbCjoJTiE0dHR5tFNJUfEJN4csywFzHep7Tf7LeIfLGdQoCUkqPncc0dWlB/z9H6eFrVqyMqFPykRL+olMeMJcAMZbjdBM4pnVm48p+c35pOKK1vJGz4nPsCqYk+/4s3UB+zjt2F5UwY+GA3g/AIaU6YwfMRxs1knMme8TkeQk8UmJ7Nz88jNWwMK4yTcrrrrt7WI80ZBBtK3K13/B9WH/H8nNL/ujdXb934d7ajYPfhM8HPsPgbDslVX7b/yL9hhxsaQrA7DuSOEzJP4PrmOxsW9dlc9MBkRDAd86eb9vrRRRxroGfm1WwQi2vDTO/JucpmdiEAweoQQo4E1UqHVmnBqJC4/LsCkv/HePEAY2wIXQo7kRaUwiKAgH2/qx9vAaINpYxuyX0i7vs2+4wWiolvmBPuB6UchnRbsItY5ROZTg9sqSPPtFNuOcZx5og Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 625f660b-70ba-4e83-b3b5-08d811b98fa7 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2020 05:53:14.7590 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ocCHNvPCFC93MkGbX94E/qd7m5CxB6cMyxFBfB8qiRaPliEEP+pFZeAVBN/Kdax1DP5oS9ixSlrH2t3O45oCkQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYASPR01MB0036 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687 definitions=2020-06-16_01:2020-06-15, 2020-06-16 signatures=0 Subject: Re: [dpdk-dev] [EXT] [PATCH 1/5] examples/l2fwd-event: free resources in case of 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Pi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+RnJvbTogTXVoYW1tYWQgQmlsYWwgPG0uYmls YWxAZW11bWJhLmNvbT4NCj5TZW50OiBNb25kYXksIEp1bmUgMTUsIDIwMjAgNTozMCBQTQ0KPlRv OiBTdW5pbCBLdW1hciBLb3JpIDxza29yaUBtYXJ2ZWxsLmNvbT4NCj5DYzogZGVjbGFuLmRvaGVy dHlAaW50ZWwuY29tOyB0b21hc3oua2FudGVja2lAaW50ZWwuY29tOyBQYXZhbiBOaWtoaWxlc2gN Cj5CaGFnYXZhdHVsYSA8cGJoYWdhdmF0dWxhQG1hcnZlbGwuY29tPjsgZGV2QGRwZGsub3JnOw0K PmpncmFqY2lhQGNpc2NvLmNvbTsgdmlwaW4udmFyZ2hlc2VAaW50ZWwuY29tDQo+U3ViamVjdDog UmU6IFtFWFRdIFtQQVRDSCAxLzVdIGV4YW1wbGVzL2wyZndkLWV2ZW50OiBmcmVlIHJlc291cmNl cyBpbiBjYXNlDQo+b2YgZXJyb3INCj4NCj5PbiBXZWQsIEp1biAxMCwgMjAyMCBhdCAzOjAxIFBN IFN1bmlsIEt1bWFyIEtvcmkgPHNrb3JpQG1hcnZlbGwuY29tPg0KPndyb3RlOg0KPj4NCj4+ID4t LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPj4gPkZyb206IE11aGFtbWFkIEJpbGFsIDxtLmJp b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