On Tue, May 15, 2012 at 11:58:12AM +0300, Dan Carpenter wrote: > We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if > both allocations fail, it leads to a NULL dereference. thanks, added that to next branch.