diff options
author | Abhijit Menon-Sen <ams@wiw.org> | 2001-08-04 22:26:35 +0530 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-08-04 14:10:39 +0000 |
commit | 45dea987ac01a22d305c6aa3413f540409537f26 (patch) | |
tree | a02b12eb857bea2ff02d310c0a9de1c775c73b7c /hv.c | |
parent | b56ba0bf6cecdb4ad30f368203c431004b90dc8e (diff) | |
download | perl-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |