mirror of
https://github.com/vim/vim.git
synced 2025-07-24 10:45:12 -04:00
patch 8.1.0833: memory leak when jumps output is filtered
Problem: Memory leak when jumps output is filtered. Solution: Free the filtered name. (Dominique Pelle, closes #3869)
This commit is contained in:
parent
2e05009218
commit
d93090f41f
@ -900,7 +900,10 @@ ex_jumps(exarg_T *eap UNUSED)
|
||||
|
||||
// apply :filter /pat/ or file name not available
|
||||
if (name == NULL || message_filtered(name))
|
||||
{
|
||||
vim_free(name);
|
||||
continue;
|
||||
}
|
||||
|
||||
msg_putchar('\n');
|
||||
if (got_int)
|
||||
|
@ -783,6 +783,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
833,
|
||||
/**/
|
||||
832,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user