Re: [PATCH SLAB 1/2 v3] duplicate the cache name in SLUB's saved_aliaslist, SLAB, and SLOB

From: Glauber Costa
Date: Fri Jul 06 2012 - 05:13:54 EST


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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/