This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce70714
)
include flags and refcount in the list of leaked scalars
author
Dave Mitchell
<davem@fdisolutions.com>
Wed, 27 Oct 2004 22:50:57 +0000
(22:50 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Wed, 27 Oct 2004 22:50:57 +0000
(22:50 +0000)
p4raw-id: //depot/perl@23426
perl.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
8bb1da7
..
33d7dfb
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-837,9
+837,10
@@
perl_destruct(pTHXx)
svend = &sva[SvREFCNT(sva)];
for (sv = sva + 1; sv < svend; ++sv) {
if (SvTYPE(sv) != SVTYPEMASK) {
- PerlIO_printf(Perl_debug_log, "leaked: 0x%p"
- pTHX__FORMAT "\n",
- sv pTHX__VALUE);
+ PerlIO_printf(Perl_debug_log, "leaked: sv=0x%p"
+ " flags=0x08%"UVxf
+ " refcnt=%"UVuf pTHX__FORMAT "\n",
+ sv, sv->sv_flags, sv->sv_refcnt pTHX__VALUE);
}
}
}