onnxruntime
fe8bf3ab - Fix dangling pointer of temporary return value (#28419)

Commit
18 days ago
Fix dangling pointer of temporary return value (#28419) Changes `std::string_view` to `std::string` in `DefaultWebGpuExecutionProvider` to avoid a dangling pointer — `GetProviderOptionPrefix` returns a temporary `std::string`, so binding it to a `string_view` would leave the view pointing at freed memory.
Author
Parents
Loading