Skip to content

Commit 81d4139

Browse files
Sameer VazeAkhil Goyal
authored andcommitted
compress/zlib: fix memory leak
Adds missing free before end of function Coverity issue: 490941 Fixes: 0dc314d ("compress/zlib: support dictionaries and PDCP checksum") Signed-off-by: Sameer Vaze <[email protected]>
1 parent 1bdf2b3 commit 81d4139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/compress/zlib/zlib_pmd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ process_zlib_inflate_chksum(struct rte_comp_op *op,
126126
free(dictionary);
127127
return;
128128
}
129+
free(dictionary);
129130
}
130131

131132
static void

0 commit comments

Comments
 (0)