diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-01-25 22:10:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-01-25 22:10:52 +0000 |
commit | d12f5c17be85407b7beb8622828ba6bc5903369e (patch) | |
tree | cb86c7b532ba41cd2f914bd2e2636acc09c99fe1 /src/misc2.c | |
parent | 28c258fd24342fe52e85059d68ce69cf9ef5f8cd (diff) | |
download | vim-git-d12f5c17be85407b7beb8622828ba6bc5903369e.tar.gz |
updated for version 7.0187v7.0187
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index fb873fb4a..328bdf216 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -952,6 +952,7 @@ free_all_mem() { buf_T *buf, *nextbuf; static int entered = FALSE; + win_T *win; /* When we cause a crash here it is caught and Vim tries to exit cleanly. * Don't try freeing everything again. */ @@ -1027,7 +1028,10 @@ free_all_mem() init_history(); #ifdef FEAT_QUICKFIX - qf_free_all(); + qf_free_all(NULL); + /* Free all location lists */ + FOR_ALL_WINDOWS(win) + qf_free_all(win); #endif /* Close all script inputs. */ |