diff options
| author | ZyX <kp-pav@yandex.ru> | 2018-04-01 21:29:47 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2018-04-01 21:29:47 +0300 |
| commit | dd1b493f7560244162f4051443fb42dabaee0254 (patch) | |
| tree | 26b62f2e8ddbfeae53161dc520512bfd0e436e71 /test/functional/legacy/015_alignment_spec.lua | |
| parent | f5373e2cdc6693a3353a37dd0652694834709739 (diff) | |
| download | rneovim-dd1b493f7560244162f4051443fb42dabaee0254.tar.gz rneovim-dd1b493f7560244162f4051443fb42dabaee0254.tar.bz2 rneovim-dd1b493f7560244162f4051443fb42dabaee0254.zip | |
shada: Fix some memory leaks and completely ignore numbered mark names
Problems:
- In two places in shada_read_when_writing() memory just was not freed. Both
places were verified to cause test failures.
- Numbered marks got assigned incorrect (off-by-one compared to position in the
array) numbers in replace_numbered_mark.
- It was possible to have non-continuously populated array of numbered marks
which messed up code for merging them.
(Note about tests: marks with additional data are always compared different when
merging, that caused some confusion regarding why test did not work the way
I expected.)
Diffstat (limited to 'test/functional/legacy/015_alignment_spec.lua')
0 files changed, 0 insertions, 0 deletions
