1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

Fix memory leak in --lzma compression.

This commit is contained in:
John Reiser 2010-03-08 22:00:35 -08:00
parent e7f766f5ba
commit 1e2cb279b0

View File

@ -641,7 +641,7 @@ int upx_lzma_decompress ( const upx_bytep src, unsigned src_len,
}
error:
*dst_len = s.dicPos;
// LzmaDec_Free(&s, &cba); // FIXME - why does this crash ???
LzmaDec_FreeProbs(&s, &cba);
return r;
#undef Properties
}