Skip to contentSkip to conversation

compressdev: fix coverity issue

PATCH Applied Sameer Vaze 2 participants 2 messages Oct 24, 2025 – Nov 4, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 compressdev: fix coverity issue

Adds missing free before end of function

Coverity issue: 490941

Fixes 72c6fcc18429 (compressdev: support dictionaries and PDCP

checksum)

---
 drivers/compress/zlib/zlib_pmd.c | 1 +
 1 file changed, 1 insertion(+)
drivers/compress/zlib/zlib_pmd.c +1 -0
index 3a2485b54e..1d7651dd7d 100644
@@ -126,6 +126,7 @@ process_zlib_inflate_chksum(struct rte_comp_op *op,
 		free(dictionary);
 		return;
 	}
+	free(dictionary);
 }
 
 static void
Signature · 1 line
2.31.1
Applied
#1 lore raw
Quoted 7 lines

Adds missing free before end of function

Coverity issue: 490941

Fixes 72c6fcc18429 (compressdev: support dictionaries and PDCP

checksum)

Fixed title and fixes tag. Please take care next time.

Applied to dpdk-next-crypto