diff --git a/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp b/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp index 856aeae275..573d9d1666 100644 --- a/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp +++ b/src/add-ons/kernel/drivers/graphics/intel_extreme/intel_extreme.cpp @@ -170,7 +170,8 @@ intel_allocate_memory(intel_info &info, size_t size, size_t alignment, phys_addr_t physicalBase; status_t error = gGART->allocate_memory(info.aperture, size, alignment, flags, _base, &physicalBase); - *_physicalBase = physicalBase; + if (_physicalBase != NULL) + *_physicalBase = physicalBase; return error; }