lkml.org 
[lkml]   [2009]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] driver core:firmware_class:fix memory leak of page pointers array
On Thu, Jul 09, 2009 at 08:20:48AM +0800, Ming Lei wrote:
> 2009/7/9 <tom.leiming@gmail.com>:
> > From: Ming Lei <tom.leiming@gmail.com>
> >
> > The page pointers array is allocated in fw_realloc_buffer() called by
> > firmware_data_write(), and should be freed in release function of firmware
> > device.
> >
> > Signed-off-by:Ming Lei <tom.leiming@gmail.com>
> > Reported-by:Catalin Marinas <catalin.marinas@arm.com>
> > Acked-by: David Woodhouse <David.Woodhouse@intel.com>
>
> ---
> This patch is against Catalin Marinas's patch:
> [PATCH] Free struct device in fw_dev_release()

Hm, I never got a final version of that patch, care to send it to me?

thanks,

greg k-h


\
 
 \ /
  Last update: 2009-07-10 19:39    [W:0.077 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site