mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Initialize variables and validate pointers before actually using them
Change-Id: Iae6fbeac124e1a02da419f5071e1ebc292b390cf Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
63721561f3
commit
92b15507b0
@@ -39,7 +39,7 @@ struct EngineHandleContext {
|
||||
ze_result_t engineGet(uint32_t *pCount, zet_sysman_engine_handle_t *phEngine);
|
||||
|
||||
OsSysman *pOsSysman = nullptr;
|
||||
std::vector<Engine *> handleList;
|
||||
std::vector<Engine *> handleList = {};
|
||||
};
|
||||
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user