Explicitly test against NULL; do not use !p or similar