Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ mod tests {

assert_eq!(b"RIFF", &out[0..4]);
assert_eq!(b"WEBP", &out[8..12]);

WebPFree(out_buf as *mut _);
}
}

Expand All @@ -215,6 +217,8 @@ mod tests {

assert_eq!(b"RIFF", &out[0..4]);
assert_eq!(b"WEBP", &out[8..12]);

WebPFree(out_buf as *mut _);
}
}

Expand Down Expand Up @@ -259,6 +263,8 @@ mod tests {

assert_eq!(b"RIFF", &out[0..4]);
assert_eq!(b"WEBP", &out[8..12]);

WebPPictureFree(&mut picture);
}
}

Expand All @@ -285,6 +291,9 @@ mod tests {

assert_eq!(b"RIFF", &out[0..4]);
assert_eq!(b"WEBP", &out[8..12]);

WebPFree(decode_buf as *mut _);
WebPFree(out_buf as *mut _);
}
}

Expand Down