We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4c5e9b commit 631d13cCopy full SHA for 631d13c
libs/lzo/src/lzss/mod.rs
@@ -61,7 +61,6 @@ pub fn compress(input: &[u8], output: &mut Vec<u8>) -> Result<(), LzoError> {
61
let layout = Layout::from_size_align(LZO1X_MEM_COMPRESS, std::mem::align_of::<u8>())
62
.expect("Failed to create layout");
63
let wrkmem = alloc(layout).cast::<c_void>();
64
- // let wrkmem = libc::malloc(LZO1X_MEM_COMPRESS);
65
let mut out_len = output.capacity();
66
let err = compress::lzo1x_1_compress(
67
input.as_ptr(),
0 commit comments