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:
@@ -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
|
||||
|
Reference in New Issue
Block a user