Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
patch 8.1.0074: crash when running quickfix tests
Problem:    Crash when running quickfix tests.
Solution:   Do not alloc a new location list when checking for the reference
            to be still valid.
  • Loading branch information
brammool committed Jun 18, 2018
1 parent 0366c01 commit d6b01a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/quickfix.c
Expand Up @@ -6350,7 +6350,7 @@ ex_cexpr(exarg_T *eap)
curbuf->b_fname, TRUE, curbuf);
if (res > 0 && (eap->cmdidx == CMD_cexpr
|| eap->cmdidx == CMD_lexpr)
&& qi == ll_get_or_alloc_list(curwin))
&& qi == GET_LOC_LIST(curwin))
// Jump to the first error if autocmds didn't free the list.
qf_jump(qi, 0, 0, eap->forceit);
}
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -761,6 +761,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
74,
/**/
73,
/**/
Expand Down

0 comments on commit d6b01a2

Please sign in to comment.