aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/operators_spec.lua
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2023-08-29 11:21:57 +0200
committerbfredl <bjorn.linse@gmail.com>2023-08-29 11:35:46 +0200
commit50a03c0e9975925e3198a2741c5b9fc0ad727e84 (patch)
tree60af1e770fe2ada5a4089318377264c80886dedd /test/functional/vimscript/operators_spec.lua
parent6e45567b498ca8455aaf3628c10de997ac070ee1 (diff)
downloadrneovim-50a03c0e9975925e3198a2741c5b9fc0ad727e84.tar.gz
rneovim-50a03c0e9975925e3198a2741c5b9fc0ad727e84.tar.bz2
rneovim-50a03c0e9975925e3198a2741c5b9fc0ad727e84.zip
fix(treesitter): fix another TSNode:tree() double free
Unfortunately the gc=false objects can refer to a dangling tree if the gc=true tree was freed first. This reuses the same tree object as the node itself is keeping alive via the uservalue of the node userdata. (wrapped in a table due to lua 5.1 restrictions)
Diffstat (limited to 'test/functional/vimscript/operators_spec.lua')
0 files changed, 0 insertions, 0 deletions