[patch] Staging: intel_sst: fix memory leak

Alan Cox alan at linux.intel.com
Tue Nov 16 13:38:37 UTC 2010


On Sat, 13 Nov 2010 11:58:26 +0300
Dan Carpenter <error27 at gmail.com> wrote:

> The original code set "str_info->decode_ibuf" to NULL so the kfree()
> is no-op.
> 
> Signed-off-by: Dan Carpenter <error27 at gmail.com>
> ---
> This is a static checker thing.  I don't have the hardware to test
> this myself so please check it carefully.

Acked-by: Alan Cox <alan at linux.intel.com>



More information about the devel mailing list