diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-30 22:47:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-30 22:47:56 +0200 |
commit | 623e263ffb998acacd6fd0de18c44e03af2a47d1 (patch) | |
tree | d9db8377e5c762b97f715af27f115445f3a999c7 /src/misc2.c | |
parent | 3ab14355ed93958433eec58e96ec9bd9a472f2b2 (diff) | |
download | vim-git-623e263ffb998acacd6fd0de18c44e03af2a47d1.tar.gz |
patch 7.4.2130v7.4.2130
Problem: Pending timers cause false memory leak reports.
Solution: Free all timers on exit.
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/misc2.c b/src/misc2.c index 281f4af1a..53469a261 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -1224,6 +1224,9 @@ free_all_mem(void) channel_free_all(); job_free_all(); # endif +#ifdef FEAT_TIMERS + timer_free_all(); +#endif free_termoptions(); |