Fixed memory error in LZO compression function