lkml.org 
[lkml]   [2011]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [staging] iio, adc: Do not leak memory in ad7280_event_handler()
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


\
 
 \ /
  Last update: 2011-11-27 10:25    [W:0.041 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site