Repository navigation
Commit ec15631
authored
Arm backend: Fix Ethos-U handle release on platform_init() failure (pytorch#22897)
### Problem
pytorch#22531 removed dynamic allocation but platform_init() failure still
calls `delete`.
### Change
Release the handle with the destructor `handle->~ExecutionHandle()` to
follow up on pytorch#22531.
Signed-off-by: Youngsik Yang <vacu9708@gmail.com>1 parent 0c3ebaa commit ec15631
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments