Re: [PATCH] [staging] iio, adc: Do not leak memory inad7280_event_handler()

From: Greg KH
Date: Sun Nov 27 2011 - 04:22:53 EST


On Sun, Nov 06, 2011 at 10:49:22PM +0100, Jesper Juhl wrote:
> If ad7280_read_all_channels() returns <0 then we'll leak the memory
> allocated to 'channels' when we return and that variable goes out of
> scope.
> This patch fixes the leak.

This patch no longer applies to my tree, can you redo it against the
next linux-next release and resend it?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/