commit | 501383236d203bacad758e82e47a07b877a3b63b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 28 17:05:16 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 28 17:05:16 2018 +0100 |
tree | c96e0fee728c53368526301c823b5845c2412e99 | |
parent | d7823d5b7c32f73ca720373ea9c16b1b47f086df [diff] [blame] |
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)
diff --git a/src/buffer.c b/src/buffer.c index eeba530..ecd8f4e 100644 --- a/src/buffer.c +++ b/src/buffer.c
@@ -2212,6 +2212,7 @@ 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