diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-01-28 17:05:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-01-28 17:05:16 +0100 |
commit | 501383236d203bacad758e82e47a07b877a3b63b (patch) | |
tree | c96e0fee728c53368526301c823b5845c2412e99 /src/buffer.c | |
parent | d7823d5b7c32f73ca720373ea9c16b1b47f086df (diff) | |
download | vim-git-501383236d203bacad758e82e47a07b877a3b63b.tar.gz |
patch 8.0.1435: memory leak in test_arabicv8.0.1435
Problem: Memory leak in test_arabic.
Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index eeba53012..ecd8f4eb6 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -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 |