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:
parent
e7f766f5ba
commit
1e2cb279b0
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user