mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00
fix(context): don't leak memory on multiple invalid objects (#25979)
This commit is contained in:
@@ -378,7 +378,7 @@ describe('context functions', function()
|
||||
it('errors when context dictionary is invalid', function()
|
||||
call('ctxpush')
|
||||
eq('Vim:E474: Failed to convert list to msgpack string buffer',
|
||||
pcall_err(call, 'ctxset', { regs = { {} } }))
|
||||
pcall_err(call, 'ctxset', { regs = { {} }, jumps = { {} } }))
|
||||
end)
|
||||
|
||||
it('sets context dictionary at index in context stack', function()
|
||||
|
Reference in New Issue
Block a user