DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] compressdev: fix coverity issue
@ 2025-10-24 19:11 Sameer Vaze
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

* [PATCH] compressdev: fix coverity issue
@ 2025-10-24 18:47 Sameer Vaze
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-24 19:11 [PATCH] compressdev: fix coverity issue Sameer Vaze
  -- strict thread matches above, loose matches on Subject: below --
2025-10-24 18:47 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).