Doing NULL pointer paranoia check in time. It's completely pointless calling the function with null pointer, but who knows. At least it does not crash then.