Commit 2533518
authored
[SYCL][ESIMD] Move RAII deleter init after buffer allocation. (#17706)
The buffer seems to be allocated in the call to
`NameNode->print(NameBuf)`, so we need to move the RAII deleter after
that call, otherwise the buffer keeps leaking because when the RAII
deleter is created, there's no buffer yet.1 parent 999c682 commit 2533518
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
168 | 167 | | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
0 commit comments