diff --git a/common/utility.cpp b/common/utility.cpp index f7b0fb3..f08e028 100755 --- a/common/utility.cpp +++ b/common/utility.cpp @@ -258,6 +258,7 @@ USTATUS decompress(const UByteArray & compressedData, const UINT8 compressionTyp // Decompress section data if (U_SUCCESS != LzmaDecompress(data, dataSize, decompressed)) { + free(decompressed); return U_CUSTOMIZED_DECOMPRESSION_FAILED; }