easylzma icon indicating copy to clipboard operation
easylzma copied to clipboard

Memory leak!

Open YangGangAVA opened this issue 5 years ago • 0 comments

thanks for your lib. Line 61 of compress.c elzma_compress_free did not clean up the hand when freeing the memory, resulting in a memory leak every time compression is performed. According to the examples and encoding concepts in sample, the hand should be released before this function executes * hand = NULL.

YangGangAVA avatar Dec 09 '19 12:12 YangGangAVA