Skip to content
Commit 75af271e authored by Dan Carpenter's avatar Dan Carpenter Committed by David Teigland
Browse files

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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 1a058f52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment