Skip to content

Commit 2144e42

Browse files
committed
Remember to handle fieldinfo->paramname at sv_dup() time
1 parent 760c508 commit 2144e42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pad.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2883,6 +2883,7 @@ Perl_padname_dup(pTHX_ PADNAME *src, CLONE_PARAMS *param)
28832883
dinfo->refcount = 1;
28842884
dinfo->fieldix = sinfo->fieldix;
28852885
dinfo->fieldstash = hv_dup_inc(sinfo->fieldstash, param);
2886+
dinfo->paramname = sv_dup_inc(sinfo->paramname, param);
28862887

28872888
PadnameFIELDINFO(dst) = dinfo;
28882889
}

0 commit comments

Comments
 (0)