DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] compressdev: fix coverity issue
@ 2025-10-24 19:11 Sameer Vaze
  2025-11-04 14:07 ` [EXTERNAL] " Akhil Goyal
  0 siblings, 1 reply; 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

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

> 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>
Fixed title and fixes tag. Please take care next time.

Applied to dpdk-next-crypto


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

end of thread, other threads:[~2025-11-04 14:07 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
2025-11-04 14:07 ` [EXTERNAL] " Akhil Goyal

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