patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Ariel Otilibili <otilibil@eurecom.fr>
To: dev@dpdk.org
Cc: stable@dpdk.org, Ariel Otilibili <otilibil@eurecom.fr>,
	Cristian Dumitrescu <cristian.dumitrescu@intel.com>,
	Stephen Hemminger <stephen@networkplumber.org>
Subject: [PATCH v3 02/10] app/test: remove unsued rte_bitmap_free()
Date: Sun, 22 Dec 2024 02:19:54 +0100	[thread overview]
Message-ID: <20241222013328.1362225-3-otilibil@eurecom.fr> (raw)
In-Reply-To: <20241222013328.1362225-1-otilibil@eurecom.fr>

Depends on 17dd8149d6 ("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 <otilibil@eurecom.fr>
--
Cc: stable@dpdk.org
Cc: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
---
 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


  parent reply	other threads:[~2024-12-22  1:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-22  1:19 [PATCH v3 00/10] devtools, lib, test, net, common: remove unused rte_bitmap_free() Ariel Otilibili
2024-12-22  1:19 ` [PATCH v3 01/10] devtools/cocci, lib/eal: " Ariel Otilibili
2024-12-22 16:43   ` Stephen Hemminger
2024-12-22  1:19 ` Ariel Otilibili [this message]
2024-12-22  1:19 ` [PATCH v3 03/10] net/sfc: " Ariel Otilibili
2024-12-22  1:19 ` [PATCH v3 04/10] crypto/ionic: " Ariel Otilibili
2024-12-22  1:19 ` [PATCH v3 05/10] net/cxgbe: " Ariel Otilibili
2024-12-22  1:19 ` [PATCH v3 06/10] net/mlx4: " Ariel Otilibili
2024-12-22  1:19 ` [PATCH v3 07/10] common/mlx5: " Ariel Otilibili
2024-12-22  1:20 ` [PATCH v3 08/10] net/bonding: " Ariel Otilibili
2024-12-22  1:20 ` [PATCH v3 09/10] net/netvsc: " Ariel Otilibili
2024-12-22  1:20 ` [PATCH v3 10/10] common/cnxk: " Ariel Otilibili

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241222013328.1362225-3-otilibil@eurecom.fr \
    --to=otilibil@eurecom.fr \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).