aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/decompress_unlzo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/decompress_unlzo.c b/lib/decompress_unlzo.c
index 6e56d547ba32..855d9d30ec45 100644
--- a/lib/decompress_unlzo.c
+++ b/lib/decompress_unlzo.c
@@ -187,8 +187,8 @@ STATIC inline int INIT unlzo(u8 *input, int in_len,
187 } 187 }
188 } 188 }
189 189
190 if (flush) 190 if (flush && flush(out_buf, dst_len) != dst_len)
191 flush(out_buf, dst_len); 191 goto exit_2;
192 if (output) 192 if (output)
193 out_buf += dst_len; 193 out_buf += dst_len;
194 if (posp) 194 if (posp)