Mercurial > vim
comparison src/quickfix.c @ 2576:2a8bf2ba504f v7.3.003
updated for version 7.3.003
Problem: Crash with specific BufWritePost autocmd. (Peter Odding)
Solution: Don't free the quickfix title twice. (Lech Lorens)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 17 Aug 2010 20:26:59 +0200 |
parents | 9fe4164cb586 |
children | 7c2e6ba1d702 |
comparison
equal
deleted
inserted
replaced
2575:fde086181841 | 2576:2a8bf2ba504f |
---|---|
2123 vim_free(qi->qf_lists[idx].qf_start); | 2123 vim_free(qi->qf_lists[idx].qf_start); |
2124 qi->qf_lists[idx].qf_start = qfp; | 2124 qi->qf_lists[idx].qf_start = qfp; |
2125 --qi->qf_lists[idx].qf_count; | 2125 --qi->qf_lists[idx].qf_count; |
2126 } | 2126 } |
2127 vim_free(qi->qf_lists[idx].qf_title); | 2127 vim_free(qi->qf_lists[idx].qf_title); |
2128 qi->qf_lists[idx].qf_title = NULL; | |
2128 } | 2129 } |
2129 | 2130 |
2130 /* | 2131 /* |
2131 * qf_mark_adjust: adjust marks | 2132 * qf_mark_adjust: adjust marks |
2132 */ | 2133 */ |