unlzo: fix input buffer free
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 13 Jan 2012 01:21:01 +0000 (17:21 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jan 2012 04:13:13 +0000 (20:13 -0800)
commit35f1526845a9d804206883e19bd257d3dcef758f
treeaaefaf3e43abec7522fe08f8632cd7ff5dbffa7f
parentc755201eb5c1e09f3477d0e83ae1e3aadac0e8d1
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: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Lasse Collin <lasse.collin@tukaani.org>
Cc: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/decompress_unlzo.c