Return NULL, not 0, from a function which returns a pointer.