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
(parent:
bb0fc36
)
with DEBUG_LEAKING_SCALARS, dump multiply-freed scalars
author
Dave Mitchell
<davem@fdisolutions.com>
Sun, 15 Apr 2007 16:32:42 +0000
(16:32 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Sun, 15 Apr 2007 16:32:42 +0000
(16:32 +0000)
p4raw-id: //depot/perl@30962
sv.c
patch
|
blob
|
blame
|
history
diff --git
a/sv.c
b/sv.c
index
43ab8bd
..
c194ab3
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-5266,6
+5266,10
@@
Perl_sv_free(pTHX_ SV *sv)
pTHX__FORMAT, PTR2UV(sv) pTHX__VALUE);
#ifdef DEBUG_LEAKING_SCALARS_FORK_DUMP
Perl_dump_sv_child(aTHX_ sv);
+#else
+ #ifdef DEBUG_LEAKING_SCALARS
+ sv_dump(sv);
+ #endif
#endif
}
return;