Got rid of unecessary comparison between NULL pointer and NULL.