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