summaryrefslogtreecommitdiff
path: root/src/proto
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-20 20:54:02 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-20 20:54:02 +0200
commit9f84ded38b62c82a4ee57b54f403b1b185ed8170 (patch)
treec114d902fa8638abc397b1abb73c36f8f4dc557f /src/proto
parent4c5d815256099b50eca2ec5bf8f9aaa67a890211 (diff)
downloadvim-git-9f84ded38b62c82a4ee57b54f403b1b185ed8170.tar.gz
patch 8.1.0488: using freed memory in quickfix codev8.1.0488
Problem: Using freed memory in quickfix code. (Dominique Pelle) Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists until it is safe. (Yegappan Lakshmanan, closes #3538)
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/quickfix.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/quickfix.pro b/src/proto/quickfix.pro
index c9c3a8c96..d58e92f6a 100644
--- a/src/proto/quickfix.pro
+++ b/src/proto/quickfix.pro
@@ -1,6 +1,7 @@
/* quickfix.c */
int qf_init(win_T *wp, char_u *efile, char_u *errorformat, int newlist, char_u *qf_title, char_u *enc);
void qf_free_all(win_T *wp);
+void check_quickfix_busy(void);
void copy_loclist_stack(win_T *from, win_T *to);
void qf_jump(qf_info_T *qi, int dir, int errornr, int forceit);
void qf_list(exarg_T *eap);