Skip to content
Commit 486fa92d authored by Aditya Pakki's avatar Aditya Pakki Committed by Dan Williams
Browse files

libnvdimm/btt: Fix a kmemdup failure check



In case kmemdup fails, the fix releases resources and returns to
avoid the NULL pointer dereference.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 55c1fc0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment