mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
loop: Free the parent queue last when destroying the loop
This avoids a heap-use-after-free ASAN error. Close #3334
This commit is contained in:
14
test/functional/ex_cmds/quit_spec.lua
Normal file
14
test/functional/ex_cmds/quit_spec.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
local helpers = require('test.functional.helpers')
|
||||
local execute, eq, clear = helpers.execute, helpers.eq, helpers.clear
|
||||
|
||||
describe(':qa', function()
|
||||
before_each(function()
|
||||
clear('qa')
|
||||
end)
|
||||
|
||||
it('verify #3334', function()
|
||||
-- just testing if 'qa' passed as a program argument wont result in memory
|
||||
-- errors
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user