diff options
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8368,7 +8368,7 @@ Perl_re_dup(pTHX_ REGEXP *r, clone_params *param) if (r->regstclass) { New(0, ret->regstclass, 1, regnode); - Copy(r->regstclass, ret->regstclass, 1, regnode); + StructCopy(r->regstclass, ret->regstclass, regnode); } else ret->regstclass = NULL; |