This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Handle xhv_super in thread cloning
[perl5.git] / sv.c
diff --git a/sv.c b/sv.c
index 2312a36..89699be 100644 (file)
--- a/sv.c
+++ b/sv.c
@@ -12129,6 +12129,7 @@ S_sv_dup_common(pTHX_ const SV *const sstr, CLONE_PARAMS *const param)
                         daux->xhv_mro_meta = saux->xhv_mro_meta
                             ? mro_meta_dup(saux->xhv_mro_meta, param)
                             : 0;
+                       daux->xhv_super = NULL;
 
                        /* Record stashes for possible cloning in Perl_clone(). */
                        if (HvNAME(sstr))