commit | 7707344ddec9069b495b2a5ed41f2104466fc88b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 13 23:23:53 2016 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 13 23:23:53 2016 +0100 |
tree | 9c6b21f811c7c38a89daf010c61453d7d6eaa8da | |
parent | e516c39ee97cb85fa230fbb1b1f54ad1346920d9 [diff] [blame] |
patch 7.4.1315 Problem: Using a channel handle does not allow for freeing it when unused. Solution: Add the Channel variable type.
diff --git a/src/misc2.c b/src/misc2.c index 78a7479..7f33ffa 100644 --- a/src/misc2.c +++ b/src/misc2.c
@@ -1139,6 +1139,9 @@ # ifdef FEAT_DIFF diff_clear(curtab); # endif +# ifdef FEAT_CHANNEL + channel_free_all(); +# endif clear_sb_text(); /* free any scrollback text */ /* Free some global vars. */