projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
PerlIO_read() can return negative.
[p5sagit/p5-mst-13.2.git]
/
mg.c
diff --git
a/mg.c
b/mg.c
index
1990b96
..
b69da05
100644
(file)
--- a/
mg.c
+++ b/
mg.c
@@
-1881,6
+1881,7
@@
Perl_magic_killbackrefs(pTHX_ SV *sv, MAGIC *mg)
}
i--;
}
+ SvREFCNT_dec(av); /* remove extra count added by sv_add_backref() */
return 0;
}