summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorAbhijit Menon-Sen <ams@wiw.org>2001-08-04 22:26:35 +0530
committerJarkko Hietaniemi <jhi@iki.fi>2001-08-04 14:10:39 +0000
commit45dea987ac01a22d305c6aa3413f540409537f26 (patch)
treea02b12eb857bea2ff02d310c0a9de1c775c73b7c /hv.c
parentb56ba0bf6cecdb4ad30f368203c431004b90dc8e (diff)
downloadperl-45dea987ac01a22d305c6aa3413f540409537f26.tar.gz
Re: [PATCH hv.c] newHVhv shouldn't reset xhv_max so often
Message-ID: <20010804165635.E526@lustre.dyn.wiw.org> p4raw-id: //depot/perl@11571
Diffstat (limited to 'hv.c')
-rw-r--r--hv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index 2962de3b0d..0f57afb770 100644
--- a/hv.c
+++ b/hv.c
@@ -1209,7 +1209,7 @@ Perl_newHVhv(pTHX_ HV *ohv)
STRLEN len = HeKLEN_UTF8(oent);
ent = new_HE();
- HeVAL(ent) = SvREFCNT_inc(HeVAL(oent));
+ HeVAL(ent) = newSVsv(HeVAL(oent));
HeKEY_hek(ent) = shared ? share_hek(key, len, hash)
: save_hek(key, len, hash);
if (prev)