It's cleaner to use `CC_SAFE_RETAIN` and `CC_SAFE_RELEASE` to check whether the pointer is valid.