Updating so carrdm_release() accepts NULL pointers.