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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 26 Nov 2011, Greg KH wrote:

> 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

Sure. I'll take a look at it this weekend.


-- 
Jesper Juhl <jj@xxxxxxxxxxxxx>       http://www.chaosbits.net/
Don't top-post http://www.catb.org/jargon/html/T/top-post.html
Plain text mails only, please.

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux