From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2B69C45F13; Sun, 22 Dec 2024 13:58:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B674740655; Sun, 22 Dec 2024 13:57:59 +0100 (CET) Received: from smtp.eurecom.fr (smtp.eurecom.fr [193.55.113.210]) by mails.dpdk.org (Postfix) with ESMTP id C0E71402DE; Sun, 22 Dec 2024 13:57:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=eurecom.fr; i=@eurecom.fr; q=dns/txt; s=default; t=1734872270; x=1766408270; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=iLxjB0EXojKGScpZzqpb/4JQ5BRDpEHZeSb3Puw0tC0=; b=HKFow26CamW6P4AxEuEq7xlr5kiYbN8OgxhBCd07AtY0Sdb60cLa5R2F dvKUp3kw47FpYrdtK1eD7xeUApEAkJlPExxT2xC+bK2kuDcA4+ycKKZU/ pL2Szy9swgpyvDF5MF4lLmQmwMuGlhiQfFRiISlJ1BucifzQ93MF6Cf8/ U=; X-CSE-ConnectionGUID: bKgEYhN7Roi6qE6OsaLsbw== X-CSE-MsgGUID: 1ohQnFR0SN2Ii9O5oCJdmQ== X-IronPort-AV: E=Sophos;i="6.12,255,1728943200"; d="scan'208";a="28290599" Received: from waha.eurecom.fr (HELO smtps.eurecom.fr) ([10.3.2.236]) by drago1i.eurecom.fr with ESMTP; 22 Dec 2024 13:57:50 +0100 Received: from localhost.localdomain (88-183-119-157.subs.proxad.net [88.183.119.157]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtps.eurecom.fr (Postfix) with ESMTPSA id 664B12596; Sun, 22 Dec 2024 13:57:50 +0100 (CET) From: Ariel Otilibili To: dev@dpdk.org Cc: stable@dpdk.org, Thomas Monjalon , David Marchand , Ariel Otilibili , Cristian Dumitrescu , Stephen Hemminger Subject: [PATCH v4 02/11] app/test: remove unused rte_bitmap_free() Date: Sun, 22 Dec 2024 13:49:22 +0100 Message-ID: <20241222125725.1532157-3-otilibil@eurecom.fr> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241222125725.1532157-1-otilibil@eurecom.fr> References: <20241222125725.1532157-1-otilibil@eurecom.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Depends on d5941e7269 ("devtools/cocci,lib/eal: remove unused rte_bitmap_free()"). Coverity issue: 357712, 357737 Fixes: 24d376bfee ("test/bitmap: fix memory leak") Signed-off-by: Ariel Otilibili -- Cc: stable@dpdk.org Cc: Cristian Dumitrescu Cc: Stephen Hemminger --- app/test/test_bitmap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/test/test_bitmap.c b/app/test/test_bitmap.c index bab11812c7..a21210a215 100644 --- a/app/test/test_bitmap.c +++ b/app/test/test_bitmap.c @@ -208,7 +208,6 @@ test_bitmap_all_clear(void) if (test_bitmap_scan_operations(bmp) < 0) return TEST_FAILED; - rte_bitmap_free(bmp); rte_free(mem); return TEST_SUCCESS; @@ -254,7 +253,6 @@ test_bitmap_all_set(void) return TEST_FAILED; } - rte_bitmap_free(bmp); rte_free(mem); return TEST_SUCCESS; -- 2.47.1