Commit 2bfd951
committed
zephyr: device: uart: irq: panic on drop
Because this interface has registered IRQs, prevent drops. They are
probably safe due to the use of the leaked Arc, but the data is in fact
leaked. For now, just cause Drop to panic, as normal use won't ever
drop this.
Signed-off-by: David Brown <david.brown@linaro.org>1 parent ea0b84b commit 2bfd951
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
223 | 232 | | |
224 | 233 | | |
225 | 234 | | |
| |||
0 commit comments