Commit f063fea
authored
[DeviceASAN] Fix a UR_L0_LEAKS_DEBUG leak report (#18612)
Some resource destruction is done in the destructor, but if we don't
manually clear the map, then the destructor is called after the adapter
release, which leads to the leak report and maybe some UB(trying to use
adapter after it is released).1 parent c20712f commit f063fea
File tree
1 file changed
+1
-0
lines changed- unified-runtime/source/loader/layers/sanitizer/asan
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| 53 | + | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| |||
0 commit comments