projects
/
p5sagit/Devel-Size.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Bump $VERSION to 0.79_52
[p5sagit/Devel-Size.git]
/
Size.xs
diff --git
a/Size.xs
b/Size.xs
index
05e540a
..
109dd15
100644
(file)
--- a/
Size.xs
+++ b/
Size.xs
@@
-707,7
+707,7
@@
sv_size(pTHX_ struct state *const st, const SV * const orig_thing,
}
st->total_size += sizeof(SV) + body_sizes[type];
- if (type >= SVt_PVMG) {
+ if (SvMAGICAL(thing)) {
magic_size(aTHX_ thing, st);
}