Memory leak in compr.c

Ferenc Havasi havasi at
Thu Jun 17 12:43:57 EDT 2004

andrea.tarani at wrote:

>If compression are enabled and the current block can't be compressed the
>allocated buffer
>aren't released.
You're right, and this leak was present in mtd/util/compr.c, too.
Your patch was not exactly correct, but now it is fixed.

Thank you for your feedback.


More information about the linux-mtd mailing list