Skip to content

Commit 5c62ce5

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

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)