diff options
author | Bram Moolenaar <bram@vim.org> | 2010-08-17 20:26:59 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2010-08-17 20:26:59 +0200 |
commit | 9134b658abe5d0f4d2575db616a83330a5990b87 (patch) | |
tree | 483337c52b25584c0f876a288575a656807ae651 | |
parent | 0ab354b0c1aa607934fb07d608077e9f3ad6ee58 (diff) | |
download | vim-9134b658abe5d0f4d2575db616a83330a5990b87.tar.gz |
Problem: Crash with specific BufWritePost autocmd. (Peter Odding)
Solution: Don't free the quickfix title twice. (Lech Lorens)
-rw-r--r-- | src/quickfix.c | 1 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c index c67397a5..7ff43183 100644 --- a/src/quickfix.c +++ b/src/quickfix.c @@ -2125,6 +2125,7 @@ qf_free(qi, idx) --qi->qf_lists[idx].qf_count; } vim_free(qi->qf_lists[idx].qf_title); + qi->qf_lists[idx].qf_title = NULL; } /* diff --git a/src/version.c b/src/version.c index 34d5b49a..f41de43b 100644 --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3, +/**/ 2, /**/ 1, |