summaryrefslogtreecommitdiff
path: root/src/os_mswin.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-02-20 01:59:20 +0000
committerBram Moolenaar <Bram@vim.org>2007-02-20 01:59:20 +0000
commit85c79d30ffe683c95c768b918789859dde452b04 (patch)
treee38205ef6a6276c19728f79bc32165deb25bf0a2 /src/os_mswin.c
parent0396ab01565b39ba8d9cc4989aa04a1e5e5ff31c (diff)
downloadvim-git-85c79d30ffe683c95c768b918789859dde452b04.tar.gz
updated for version 7.0-197v7.0.197
Diffstat (limited to 'src/os_mswin.c')
-rw-r--r--src/os_mswin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/os_mswin.c b/src/os_mswin.c
index 26d8533aa..27bd3d8f8 100644
--- a/src/os_mswin.c
+++ b/src/os_mswin.c
@@ -239,6 +239,11 @@ mch_exit(int r)
if (gui.in_use)
gui_exit(r);
+
+#ifdef EXITFREE
+ free_all_mem();
+#endif
+
exit(r);
}