diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-04-24 14:10:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-24 14:10:28 -0400 |
| commit | 58aad59e1cf89e2bee0fc2e02c42506d2b1feeaf (patch) | |
| tree | a6d2047c8510bc7174b7fc82fbc595d62ced4670 /test/functional/vimscript/executable_spec.lua | |
| parent | f130922744657b731c24a842a85fd8a9f8058073 (diff) | |
fix(api): LuaRef leak in nvim_set_keymap on LHS too long (>=66 bytes) #39351
Problem: `nvim_set_keymap` leaks the `callback` `LuaRef` when the
LHS is too long.
Solution: Make `set_maparg_lhs_rhs` transfer `rhs_lua` to
`MapArguments` up front so the caller always owns the ref.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
