aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorVolodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com>2026-09-04 18:37:25 +0200
committerGitHub <noreply@github.com>2026-09-04 12:37:25 -0400
commit6386e29636484ea0cbf19611da078eb50fd85ee0 (patch)
treefcc51d9b4bdfdf642f35dffb3c4dda8f088e0473 /runtime/lua/vim
parentb21f2094ba1daf87ebdc55494784cb78f91d88a0 (diff)
downloadrneovim-6386e29636484ea0cbf19611da078eb50fd85ee0.tar.gz
rneovim-6386e29636484ea0cbf19611da078eb50fd85ee0.tar.bz2
rneovim-6386e29636484ea0cbf19611da078eb50fd85ee0.zip
fix(api): leaked error message in nvim_eval_statusline() #41690
Problem: `find_window_by_handle()` returns NULL only after `VALIDATE_INT` has already set `err`, so the `api_set_error()` that followed allocated a second message over the first pointer and leaked it. Solution: Drop the redundant call and keep the helper's message, which is already set and better worded. AI-assisted
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions