Commit 02fd0ac
[emulator] Return a reference, not a raw pointer, from LLILEmulator::GetView
The view member is reference counted; returning a raw BinaryView* from a public
getter invites use-after-free if the emulator outlives the caller's assumptions.
Return Ref<BinaryView> so callers hold their own reference.
Addresses emesare review comment on PR #8314.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 067252a commit 02fd0ac
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
0 commit comments