0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.4.379

Problem:    Accessing freed memory after using setqflist(list, 'r'). (Lcd)
Solution:   Reset qf_index.
This commit is contained in:
Bram Moolenaar
2014-07-23 16:33:07 +02:00
parent fb60409a3f
commit 158a1b0748
2 changed files with 3 additions and 0 deletions

View File

@@ -2173,6 +2173,7 @@ qf_free(qi, idx)
}
vim_free(qi->qf_lists[idx].qf_title);
qi->qf_lists[idx].qf_title = NULL;
qi->qf_lists[idx].qf_index = 0;
}
/*