lkml.org 
[lkml]   [2010]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mc13783-regulator: fix a memory leak in mc13783_regulator_remove
On Mon, Apr 19, 2010 at 09:58:02AM +0800, Axel Lin wrote:
> This patch fixes a memory leak by freeing priv in mc13783_regulator_remove

Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

but note that...

> + platform_set_drvdata(pdev, NULL);
> +

This is completely unrelated to what your description says (and is not
needed).


\
 
 \ /
  Last update: 2010-04-19 19:03    [W:0.037 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site