Dan Carpenter 75af271ed5 dlm: NULL dereference on failure in kmem_cache_create()
We aren't allowed to pass NULL pointers to kmem_cache_destroy() so if
both allocations fail, it leads to a NULL dereference.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David Teigland <teigland@redhat.com>
2012-05-15 10:39:28 -05:00
..
2012-05-02 14:15:27 -05:00
2011-07-15 12:30:43 -05:00
2012-01-04 08:56:31 -06:00
2012-01-04 08:56:31 -06:00
2012-03-08 14:46:30 -06:00
2006-01-18 09:30:29 +00:00
2012-05-02 14:15:27 -05:00
2011-01-16 21:22:37 +00:00
2012-05-02 14:15:27 -05:00
2012-05-02 14:15:27 -05:00
2012-05-02 14:15:27 -05:00
2009-05-15 09:34:12 -05:00
2011-05-26 09:46:17 +02:00
2008-04-21 11:22:28 -05:00
2012-01-04 08:56:31 -06:00
2012-01-04 08:56:31 -06:00
2011-07-12 16:02:09 -05:00
2008-12-23 10:15:40 -06:00
2011-07-20 20:23:19 -04:00
2012-05-02 14:15:27 -05:00
2012-01-04 08:55:57 -06:00
2012-05-02 14:15:27 -05:00
2012-05-02 14:15:27 -05:00
2012-05-02 14:15:27 -05:00
2012-01-04 08:56:31 -06:00
2011-03-10 10:40:00 -06:00
2008-02-04 01:23:43 -06:00
2006-01-18 09:30:29 +00:00