We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04af9b2 commit e798330Copy full SHA for e798330
src/eval.c
@@ -12008,6 +12008,8 @@ f_getreg(argvars, rettv)
12008
rettv->v_type = VAR_LIST;
12009
rettv->vval.v_list = (list_T *)get_reg_contents(regname,
12010
(arg2 ? GREG_EXPR_SRC : 0) | GREG_LIST);
12011
+ if (rettv->vval.v_list != NULL)
12012
+ ++rettv->vval.v_list->lv_refcount;
12013
}
12014
else
12015
{
src/version.c
@@ -741,6 +741,8 @@ static char *(features[]) =
741
742
static int included_patches[] =
743
{ /* Add new patch number below this line */
744
+/**/
745
+ 513,
746
/**/
747
512,
748
0 commit comments