projects
/
p5sagit/Devel-Size.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Don't follow CvSTART() if CvROOT() is NULL.
[p5sagit/Devel-Size.git]
/
Size.xs
diff --git
a/Size.xs
b/Size.xs
index
252dab2
..
3226910
100644
(file)
--- a/
Size.xs
+++ b/
Size.xs
@@
-802,7
+802,7
@@
sv_size(pTHX_ struct state *const st, const SV * const orig_thing,
sv_size(aTHX_ st, (SV *)CvOUTSIDE(thing), recurse);
if (CvISXSUB(thing)) {
sv_size(aTHX_ st, cv_const_sv((CV *)thing), recurse);
- } else {
+ } else if (CvROOT(thing)) {
op_size(aTHX_ CvSTART(thing), st);
op_size(aTHX_ CvROOT(thing), st);
}