SWDEV-494409 - Fixed segfault caused by aligned_free called on unaligned memory

Change-Id: I8ddea5c309b568db25c92789bf71be341d19c3ba


[ROCm/clr commit: 2cc9f59774]
This commit is contained in:
Ioannis Assiouras
2024-11-22 03:06:37 +00:00
parent 7d8304e100
commit a22553fb33
+1 -1
View File
@@ -745,7 +745,7 @@ class Device : public NullDevice {
Memory* globalScratchBuf_; //!< Global scratch buffer
SrdManager* srdManager_; //!< SRD manager object
static AppProfile appProfile_; //!< application profile
mutable bool freeCPUMem_; //!< flag to mark GPU free SVM CPU mem
mutable bool freeCPUMem_ = false; //!< flag to mark GPU free SVM CPU mem
Pal::DeviceProperties properties_; //!< PAL device properties
Pal::IDevice* device_; //!< PAL device object
mutable std::atomic<Pal::gpusize>