lkml.org 
[lkml]   [2011]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] mlx4: fix kfree on error path in new_steering_entry()
From
From: Mariusz Kozlowski <mk@lab.zgora.pl>
Date: Sun, 3 Apr 2011 23:26:23 +0200

> On error path kfree() should get pointer to memory allocated by
> kmalloc() not the address of variable holding it (which is on stack).
>
> Signed-off-by: Mariusz Kozlowski <mk@lab.zgora.pl>

Applied, thanks.


\
 
 \ /
  Last update: 2011-04-04 07:07    [W:0.120 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site