lkml.org 
[lkml]   [2012]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH SLAB 1/2 v3] duplicate the cache name in SLUB's saved_alias list, SLAB, and SLOB
On 07/06/2012 11:54 AM, Li Zhong wrote:
> + if (!c && lname)
> + kfree(lname);
> +
kfree can still be validly called with a NULL argument. No need for the
lname in the conditional.



\
 
 \ /
  Last update: 2012-07-06 12:01    [W:0.072 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site