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:
@@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user