Re: blead with -Dusemymalloc fails on t/comp/hints.t
Vincent Pit [Wed, 10 Sep 2008 22:59:14 +0000 (00:59 +0200)]
Message-ID: <48C83522.9010804@profvince.com>

p4raw-id: //depot/perl@34338

hv.c

diff --git a/hv.c b/hv.c
index 24d9150..c394e73 100644 (file)
--- a/hv.c
+++ b/hv.c
@@ -1094,7 +1094,7 @@ S_hsplit(pTHX_ HV *hv)
       return;
     }
     if (SvOOK(hv)) {
-       Copy(&a[oldsize * sizeof(HE*)], &a[newsize * sizeof(HE*)], 1, struct xpvhv_aux);
+       Move(&a[oldsize * sizeof(HE*)], &a[newsize * sizeof(HE*)], 1, struct xpvhv_aux);
     }
 #else
     Newx(a, PERL_HV_ARRAY_ALLOC_BYTES(newsize)