Avoid freeing a null