projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
head2-ify many of the head1s, will probably make this look
[p5sagit/p5-mst-13.2.git]
/
sv.c
diff --git
a/sv.c
b/sv.c
index
6fca92e
..
2c24d26
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-5309,6
+5309,7
@@
Perl_sv_replace(pTHX_ register SV *sv, register SV *nsv)
#endif
SvREFCNT(sv) = refcnt;
SvFLAGS(nsv) |= SVTYPEMASK; /* Mark as freed */
+ SvREFCNT(nsv) = 0;
del_SV(nsv);
}