DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] compressdev: fix coverity issue
@ 2025-10-24 18:47 Sameer Vaze
  2025-10-28 17:19 ` Sameer Vaze
  0 siblings, 1 reply; 3+ messages in thread
From: Sameer Vaze @ 2025-10-24 18:47 UTC (permalink / raw)
  To: Sunila Sahu, Fan Zhang, Ashish Gupta; +Cc: dev, Sameer Vaze

Adds missing free before end of function

Signed-off-by: Sameer Vaze <svaze@qti.qualcomm.com>
---
 drivers/compress/zlib/zlib_pmd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers/compress/zlib/zlib_pmd.c
index 3a2485b54e..1d7651dd7d 100644
--- a/drivers/compress/zlib/zlib_pmd.c
+++ b/drivers/compress/zlib/zlib_pmd.c
@@ -126,6 +126,7 @@ process_zlib_inflate_chksum(struct rte_comp_op *op,
 		free(dictionary);
 		return;
 	}
+	free(dictionary);
 }
 
 static void
-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] compressdev: fix coverity issue
  2025-10-24 18:47 [PATCH] compressdev: fix coverity issue Sameer Vaze
@ 2025-10-28 17:19 ` Sameer Vaze
  0 siblings, 0 replies; 3+ messages in thread
From: Sameer Vaze @ 2025-10-28 17:19 UTC (permalink / raw)
  To: Sunila Sahu, Fan Zhang, Ashish Gupta; +Cc: dev

[-- Attachment #1: Type: text/plain, Size: 1018 bytes --]

Recheck-request: rebase=main, iol-sample-apps-testing, iol-compile-amd64-testing
________________________________
From: Sameer Vaze <svaze@qti.qualcomm.com>
Sent: Friday, October 24, 2025 12:47 PM
To: Sunila Sahu <ssahu@marvell.com>; Fan Zhang <fanzhang.oss@gmail.com>; Ashish Gupta <ashishg@marvell.com>
Cc: dev@dpdk.org <dev@dpdk.org>; Sameer Vaze <svaze@qti.qualcomm.com>
Subject: [PATCH] compressdev: fix coverity issue

Adds missing free before end of function

Signed-off-by: Sameer Vaze <svaze@qti.qualcomm.com>
---
 drivers/compress/zlib/zlib_pmd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers/compress/zlib/zlib_pmd.c
index 3a2485b54e..1d7651dd7d 100644
--- a/drivers/compress/zlib/zlib_pmd.c
+++ b/drivers/compress/zlib/zlib_pmd.c
@@ -126,6 +126,7 @@ process_zlib_inflate_chksum(struct rte_comp_op *op,
                 free(dictionary);
                 return;
         }
+       free(dictionary);
 }

 static void
--
2.31.1


[-- Attachment #2: Type: text/html, Size: 2174 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] compressdev: fix coverity issue
@ 2025-10-24 19:11 Sameer Vaze
  0 siblings, 0 replies; 3+ messages in thread
From: Sameer Vaze @ 2025-10-24 19:11 UTC (permalink / raw)
  To: Sunila Sahu, Fan Zhang, Ashish Gupta; +Cc: dev, Sameer Vaze

Adds missing free before end of function

Coverity issue: 490941
Fixes: 72c6fcc18429 (compressdev: support dictionaries and PDCP
checksum)

Signed-off-by: Sameer Vaze <svaze@qti.qualcomm.com>
---
 drivers/compress/zlib/zlib_pmd.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/compress/zlib/zlib_pmd.c b/drivers/compress/zlib/zlib_pmd.c
index 3a2485b54e..1d7651dd7d 100644
--- a/drivers/compress/zlib/zlib_pmd.c
+++ b/drivers/compress/zlib/zlib_pmd.c
@@ -126,6 +126,7 @@ process_zlib_inflate_chksum(struct rte_comp_op *op,
 		free(dictionary);
 		return;
 	}
+	free(dictionary);
 }
 
 static void
-- 
2.31.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-28 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-24 18:47 [PATCH] compressdev: fix coverity issue Sameer Vaze
2025-10-28 17:19 ` Sameer Vaze
2025-10-24 19:11 Sameer Vaze

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).