diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-09-04 15:42:09 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-04 09:42:09 -0400 |
| commit | 6112d4a6741e10401fce0d7728cd89398878a77a (patch) | |
| tree | 2a3c8d4a7bd0af7f3108ba7f238af112aee197f5 /runtime/lua/vim | |
| parent | efd1b66401b5658bec7495811848b82a92f4dba0 (diff) | |
| download | rneovim-6112d4a6741e10401fce0d7728cd89398878a77a.tar.gz rneovim-6112d4a6741e10401fce0d7728cd89398878a77a.tar.bz2 rneovim-6112d4a6741e10401fce0d7728cd89398878a77a.zip | |
fix(fuzzy): fuzmatch_str_free() frees the wrong element #41691
Problem:
The loop frees `fuzmatch[count].str` on every iteration instead of
`fuzmatch[i].str`.
The function has no callers in Nvim, so there is no impact today. The
indexing is a slip from the port; Vim's implementation is correct.
Solution:
Index with the loop variable, as Vim does.
AI-assisted
Diffstat (limited to 'runtime/lua/vim')
0 files changed, 0 insertions, 0 deletions