0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.1435: memory leak in test_arabic

Problem:    Memory leak in test_arabic.
Solution:   Free the from and to parts. (Christian Brabandt, closes #2569)
This commit is contained in:
Bram Moolenaar
2018-01-28 17:05:16 +01:00
parent d7823d5b7c
commit 501383236d
4 changed files with 17 additions and 2 deletions

View File

@@ -2212,6 +2212,7 @@ free_buf_options(
clear_string_option(&buf->b_p_isk);
#ifdef FEAT_KEYMAP
clear_string_option(&buf->b_p_keymap);
keymap_clear(&buf->b_kmap_ga);
ga_clear(&buf->b_kmap_ga);
#endif
#ifdef FEAT_COMMENTS