Commit 35f15268 authored by Sascha Hauer's avatar Sascha Hauer Committed by Linus Torvalds

unlzo: fix input buffer free

unlzo modifies the pointer to in_buf, so we have to free the original
buffer, not the modified pointer.
Signed-off-by: default avatarSascha Hauer <>
Cc: Lasse Collin <>
Cc: Namhyung Kim <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent c755201e
......@@ -279,7 +279,7 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
ret = 0;
if (!input)
if (!output)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment