mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Correctly reset qf_list_T in qf_free()
This commit is contained in:
parent
2e2b5759cf
commit
ae686092f8
@ -1886,6 +1886,8 @@ static void qf_free(qf_info_T *qi, int idx)
|
|||||||
--qi->qf_lists[idx].qf_count;
|
--qi->qf_lists[idx].qf_count;
|
||||||
}
|
}
|
||||||
xfree(qi->qf_lists[idx].qf_title);
|
xfree(qi->qf_lists[idx].qf_title);
|
||||||
|
qi->qf_lists[idx].qf_start = NULL;
|
||||||
|
qi->qf_lists[idx].qf_ptr = NULL;
|
||||||
qi->qf_lists[idx].qf_title = NULL;
|
qi->qf_lists[idx].qf_title = NULL;
|
||||||
qi->qf_lists[idx].qf_index = 0;
|
qi->qf_lists[idx].qf_index = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user