core: all allocations are checked for NULL by allocator, no need to check them everywhere