(*pointer != NULL) is the same as saying (*pointer), because either a pointer has an address or is 0 or NULL.