Skip to content

Commit f25ef75

Browse files
committed
Fix missing default assignment for handles in translation
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
1 parent b1a43bf commit f25ef75

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

source/loader/ze_loader_api.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ zelLoaderTranslateHandleInternal(
9797
}
9898

9999
bool validHandle = false;
100+
*handleOut = handleIn;
100101
switch(handleType){
101102
case ZEL_HANDLE_DRIVER:
102103
validHandle = loader::context->ze_driver_factory.hasInstance(reinterpret_cast<loader::ze_driver_object_t*>(handleIn)->handle);

0 commit comments

Comments
 (0)