diff options
author | Jun T <takimoto-j@kba.biglobe.ne.jp> | 2016-03-25 00:04:13 +0900 |
---|---|---|
committer | Jun T <takimoto-j@kba.biglobe.ne.jp> | 2016-03-25 00:04:13 +0900 |
commit | ae686092f807adbbb578b8ae2c2200654f9df8c1 (patch) | |
tree | 0c372899c2d389371a79f16b41ef2b259c6eacf7 /src | |
parent | 2e2b5759cf806b5ca1d4e94316d40acb17878ae2 (diff) | |
download | rneovim-ae686092f807adbbb578b8ae2c2200654f9df8c1.tar.gz rneovim-ae686092f807adbbb578b8ae2c2200654f9df8c1.tar.bz2 rneovim-ae686092f807adbbb578b8ae2c2200654f9df8c1.zip |
Correctly reset qf_list_T in qf_free()
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/quickfix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 171b7a825b..3bc6d46dd9 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -1886,6 +1886,8 @@ static void qf_free(qf_info_T *qi, int idx) --qi->qf_lists[idx].qf_count; } 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_index = 0; } |