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
2012-01-04 08:56:31 -06:00
2012-01-04 08:56:31 -06:00
2012-03-08 14:46:30 -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-05-02 14:15:27 -05:00
2012-01-04 08:56:31 -06:00
2012-01-04 08:56:31 -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-05-02 14:15:27 -05:00
2012-01-04 08:56:31 -06:00