From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0070.outbound.protection.outlook.com [104.47.38.70]) by dpdk.org (Postfix) with ESMTP id 729882C01 for ; Thu, 21 Jul 2016 13:50:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xNXQw4D6QQDNo4X/WOal2t7GwvL1g4yURC/pq/Bd+6s=; b=N42rP2AvxkSlcO1zWX74nlKEC4wnopJpUXIxMaAJqkKj8GOaVkoWfeXmoQxmbUiw1bCoH1iFXIuu2mIaIMACzHzeuSfhp6wMWX9eCQGKbWIxJ3U4e6h34yQj/4Iv2IqGwf437L0F6BLN+jrqDaXHLTQ/Q5bnfm/HJt6ZXEHwF8o= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Santosh.Shukla@cavium.com; Received: from localhost.localdomain (103.226.29.76) by CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) with Microsoft SMTP Server (TLS) id 15.1.539.14; Thu, 21 Jul 2016 11:50:37 +0000 From: Santosh Shukla To: CC: , , Santosh Shukla Date: Thu, 21 Jul 2016 17:19:47 +0530 Message-ID: <1469101787-7186-1-git-send-email-santosh.shukla@caviumnetworks.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [103.226.29.76] X-ClientProxiedBy: BM1PR01CA0041.INDPRD01.PROD.OUTLOOK.COM (10.163.199.13) To CY1PR0701MB1727.namprd07.prod.outlook.com (10.163.21.141) X-MS-Office365-Filtering-Correlation-Id: cb901ca6-56bf-4078-61d1-08d3b15d3c17 X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 2:IPZ1ohHN6zShy2o1ECbDAYQm1stsOPWE9Y4MPpDqZMuzg2HSNQBdOKHy2jYEPkZs5m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/1u9T3jeP5KpQdyYEl4nFTpKVlUgjzweUC3gh6HNSeZ2t5DirL8nzNAp5spx9bemLnCClmiRHX7srBgu6ob7fZb3EGxX+cKF7RyMprR1sXdjMSFRNHVECt45OcDZAKwjdXcsPTJcwwrsmamwG+flfZ8HTYr3wINFDAU5zRMdzlNhtQ3rTWzW21u1s6ozj+I2eyGvH3eRyuZbSUho11+z3N61ZAKiAokBuPmTTYvTWwjooiEM3f5SDLhqQD+olkLVs0GHj9Bg2ygQEjf7S5KSFAtkkq+FaKv/6vqoDOUpj+JWrA+cSfsgGcX1GnlzAZF1cA3J3303qNlAZhtZNCBib8RYIrqGpGvBi1B2nwMDCDoalEOt6i5AuDCr/yyFudzcWR0UvzygWV2VhrJwJ4kE+Rl1N8p3m20InvOV/d9mWKVdoGLIZpczjBLZ+RSjTt/jkwQb+ioP4o314u040lFYfGBiQJXPda7uWbg8dFFfz+W1KHZiNJrJXkonU8M4HUiqQj4MvmIha7OXWxTjIjf1srBs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001); SRVR:CY1PR0701MB1727; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1727; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 4:8i2wF3MYKWImLbyfU4B7rGGHd83qp8a6n3HRUTD6C01Rs0J2yPZo7HmFEwdfb7/ze3pDk7uSsWDusyxkOYMcKdaAOXHlpz9jcL32kVo09sFq+8CMpF7WuPNmX1TOuTC7ibL/i9C1qOcFP57l8WyR64pl59seu2EabYj5YyPkmWs42WC+JSpL6SLvTtNOo8LKp0P34hDi6ziveoW4rZUw0Rdrkk5YNh5I3VzKQOaVfU43xa9dL6eRNi/TqJqzsM8zrcoA7JZ38CQAEO859wnFg8eDQIE5r4+DIKmaI9y8dNq/z6YotiUp5m8/lcfyoF8II1wT3hOF8li0byQH5jTz5abBLGJQcz8kHwffG/Fd0XpVi2FXaaKu6Ko0u2WpfVzy X-Forefront-PRVS: 0010D93EFE X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(189002)(199003)(2906002)(33646002)(5003940100001)(92566002)(229853001)(48376002)(2351001)(50466002)(107886002)(110136002)(4326007)(105586002)(19580405001)(19580395003)(3846002)(47776003)(8676002)(77096005)(586003)(97736004)(6116002)(50226002)(106356001)(189998001)(42186005)(4001430100002)(81166006)(81156014)(66066001)(68736007)(36756003)(305945005)(7736002)(101416001)(7846002)(50986999)(4720700001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1727; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1727; 23:UR8+NHlSmA3xM3qv431PJyeVMyHg//BpTvRZ8QI?= =?us-ascii?Q?Ms2avHbVJ2NPfd4tS0M0ESUEXoQrENthU7FQwOdk6FD2QaKWFueid4GKk/g/?= =?us-ascii?Q?ldOU11y5bCZOuPSq/ESdCZPg3APA6ad3p7nb2+KRPT1Ls4kUuCzf8Gs2ZtH2?= =?us-ascii?Q?anOLtsfia1xXKbVMnFs+ceX6cjtXyaU+hXZ8BBYyofOSIX1zPZhMDYwiE7ZD?= =?us-ascii?Q?LyHszJlkXmzUpZf2YMK2upCOvZvMFQhUTPOdcRAdJXIXkpl+VA4Fq0q23EMY?= =?us-ascii?Q?TDoudhBV8Vcw5r/SI3yjXnASHdTnKSJtrdPdCp/hYCta/e9hexJt6f2DYPhf?= =?us-ascii?Q?yLdbmc2AOYLPA6kaTMrQKXqoZRGiRp62YyeS3teTWSFlXIaQuaulyW+uw3XH?= =?us-ascii?Q?6BnNE4W0PUFGEqQelR8Z0ZoKlnsA184fJVC6DDUSXj4Qumj891AWlOOzfkW7?= =?us-ascii?Q?aWimm9y5tq+stee9Ub7T8++KtKw58pP5I9lQjzH2i40HA7cnOE0YYrGpwN8a?= =?us-ascii?Q?LIt0bljbSZSpM/C5U9mg0398/fAQQyVdTiLxo8ZGLar3zdXB99T3hrEgW4m4?= =?us-ascii?Q?wOw5O6+VKRCgljRz5vrk7WkKenmIz7e31krCUuJBN3QEFNfMNbAOBgx5cR4L?= =?us-ascii?Q?/RDCa+OGltGdRLsgGkLtpb1cd3cDW5THS6OslGBN0X6NiguzDr1CZIhzZLJY?= =?us-ascii?Q?dWEkjX8fHtiLPIB5gc8xU9EeMvPnJlrDzZVQNWjC59nct/S31RWhAhIIITgJ?= =?us-ascii?Q?JaEMqwPcF/NAwT6dhJT7R8zL1pfABtIAQP61ApYQIG9e7AuSG5OTeJ41RHtU?= =?us-ascii?Q?kkxmbuFAeNk8wTGzP1EUcWw7HP3KlHXohsf1mM1jA4s+fU9DUPhXlyMp0RCT?= =?us-ascii?Q?gwAHJlR/+g5lZc7dq9C7NT6QKgqcxP28s2KVfxJXHoSWK93YeJbg76JvTaac?= =?us-ascii?Q?yqy7AyedA1Jp2iDncnQPfmwy10PTOrqViPG1ltf/++qXumBm5IwGa7tTbYdZ?= =?us-ascii?Q?xq6qTiG6b1AK1Y/y8Wl3sleQruacdCLjhqEeXV/OlAbfJznIZke62zIlKos8?= =?us-ascii?Q?zVgCdC8284WhCQU8z2weBdW9eZUOQFP5YB/YxRF5WuKB8GrC76w=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1727; 6:l3H6YrnQ5eaxkSmhua4EU14mZd6pJa9A5YsVm8iyl/ErpvpgG/Ephx76BAEkP+U4AvjQOagz6+fqT3D2wV+FnZ7WTFNC96x2sgJmYCSZZgw3LX7ZHcO/Fo86/CvXMz/yQNHnEexT602k2l+dYsCjHGT0jgpYmx0vX8tswoDNH+87006cO3maKQeGok5xP+BkKzQMO6tabd4V1frwqsR1nFNlvQHU+TOeLhUrJZh4adrNg4bf4h9MU5XJgS7NRarqptPhWec+mviKM6IUgY2Ytp1tHa/yPOnVf0MYNiwdJx4=; 5:nhJuyCfJzvSKVNSXLD9SiKUDR2f4FSpZTc9VlTW2uAmjaMFlqyPws2a4YZK6x9+ZrDDf2IVBcXI9+9xdlOcT5pALfdq3nfhfEhW1h5cVEdRRoXdaxgQ9ZlAFJrqkuxbMnQZzHe/D7AhgF+cdd0KCJg==; 24:Xq6VxReyTB3wV3kdLuaizxIZTiomFnEpGSpCsh2ZaWdEjD0M4i7eO+rYweBu9Jx/KuVoV9Y/cG4BqrKLvQsCu3HsmrmUSbXHLnM5XIkSyh8=; 7:1GuAi3XrAV+z6m0D9XrZmCyHrS1X6IGup0Z6N7aWEx9OBSNEbDQut2w/xU8LLbtR8SWqt8nZuLH+XvtGIFR/rrER883dNojvbsIIQWbGwTy8UvZisEiqM3s4UjaKqAP0p/MDJNoDJ5E/xCwkdn745QB+TYRe7/w2fYk0es6DyOPc51p2Vc9GuG/NuJFkTeI4JDB/g29bTHAnWWXaU205HHgQHfHUgF/Xm3e90vyuwXUYWYWv2nOqG7Z1WkQgW1XB SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jul 2016 11:50:37.1987 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1727 Subject: [dpdk-dev] [PATCH] test_mempool: remove unused mp_ext var 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: Thu, 21 Jul 2016 11:50:40 -0000 test_mempool func not using pointer variable 'mp_ext' and incorrectly freed. So removing ptr var. Now freeing mp_stack var. Signed-off-by: Santosh Shukla --- app/test/test_mempool.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/test/test_mempool.c b/app/test/test_mempool.c index 46ad670..3b21cf7 100644 --- a/app/test/test_mempool.c +++ b/app/test/test_mempool.c @@ -506,7 +506,6 @@ test_mempool(void) { struct rte_mempool *mp_cache = NULL; struct rte_mempool *mp_nocache = NULL; - struct rte_mempool *mp_ext = NULL; struct rte_mempool *mp_stack = NULL; rte_atomic32_init(&synchro); @@ -605,7 +604,7 @@ test_mempool(void) err: rte_mempool_free(mp_nocache); rte_mempool_free(mp_cache); - rte_mempool_free(mp_ext); + rte_mempool_free(mp_stack); return -1; } -- 1.7.9.5