Adds missing free before end of function Coverity issue: 490941 Fixes: 72c6fcc18429 (compressdev: support dictionaries and PDCP checksum)
Signed-off-by: Sameer Vaze <[email protected]> --- 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

