summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-01-12 23:22:24 +0000
committerBram Moolenaar <Bram@vim.org>2006-01-12 23:22:24 +0000
commit4770d09abd866bb53d95895dc6a5c5fe7cccb619 (patch)
treeb9ca6f4a66c7591a84cfe88fb21edb31db906a4e /src/misc1.c
parent1cbe5f739d4e75b5e16b85ae79ff0434a641b03d (diff)
downloadvim-git-4770d09abd866bb53d95895dc6a5c5fe7cccb619.tar.gz
updated for version 7.0179v7.0179
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc1.c b/src/misc1.c
index a5a1805c2..08cd20c91 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -7952,6 +7952,10 @@ preserve_exit()
prepare_to_exit();
+ /* Setting this will prevent free() calls. That avoids calling free()
+ * recursively when free() was invoked with a bad pointer. */
+ really_exiting = TRUE;
+
out_str(IObuff);
screen_start(); /* don't know where cursor is now */
out_flush();