Mercurial > vim
comparison src/globals.h @ 9169:0ea97a753a2d v7.4.1868
commit https://github.com/vim/vim/commit/b89a25f17e274dc308c584ea69a129ffbb26bc3d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 1 23:08:39 2016 +0200
patch 7.4.1868
Problem: Setting really_exiting causes memory leaks to be reported.
Solution: Add the in_free_all_mem flag.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 01 Jun 2016 23:15:06 +0200 |
parents | 773d627cac0b |
children | 5e18efdad322 |
comparison
equal
deleted
inserted
replaced
9168:702732dc3ed7 | 9169:0ea97a753a2d |
---|---|
633 * still keep on running if there is a changed | 633 * still keep on running if there is a changed |
634 * buffer. */ | 634 * buffer. */ |
635 EXTERN int really_exiting INIT(= FALSE); | 635 EXTERN int really_exiting INIT(= FALSE); |
636 /* TRUE when we are sure to exit, e.g., after | 636 /* TRUE when we are sure to exit, e.g., after |
637 * a deadly signal */ | 637 * a deadly signal */ |
638 #if defined(EXITFREE) | |
639 EXTERN int entered_free_all_mem INIT(= FALSE); | |
640 /* TRUE when in or after free_all_mem() */ | |
641 #endif | |
638 /* volatile because it is used in signal handler deathtrap(). */ | 642 /* volatile because it is used in signal handler deathtrap(). */ |
639 EXTERN volatile int full_screen INIT(= FALSE); | 643 EXTERN volatile int full_screen INIT(= FALSE); |
640 /* TRUE when doing full-screen output | 644 /* TRUE when doing full-screen output |
641 * otherwise only writing some messages */ | 645 * otherwise only writing some messages */ |
642 | 646 |