mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
There is a possibility that getGraphicsAllocation returns nullptr, so accessing storageInfo would cause a Segmentation fault. This change prevents that by simply nullptr checking. Related-To: LOCI-4032 Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>