projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Few more IDE/editor nits from p5p.
[p5sagit/p5-mst-13.2.git]
/
hv.c
diff --git
a/hv.c
b/hv.c
index
304be2b
..
0e50523
100644
(file)
--- a/
hv.c
+++ b/
hv.c
@@
-1101,7
+1101,7
@@
Perl_newHVhv(pTHX_ HV *ohv)
hv_iterinit(ohv);
while ((entry = hv_iternext(ohv))) {
hv_store(hv, HeKEY(entry), HeKLEN_UTF8(entry),
- SvREFCNT_inc(HeVAL(entry)), HeHASH(entry));
+ newSVsv(HeVAL(entry)), HeHASH(entry));
}
HvRITER(ohv) = hv_riter;
HvEITER(ohv) = hv_eiter;