diff options
author | Dave Mitchell <davem@fdisolutions.com> | 2007-04-15 16:32:42 +0000 |
---|---|---|
committer | Dave Mitchell <davem@fdisolutions.com> | 2007-04-15 16:32:42 +0000 |
commit | e4c5322dee1b8e87ff0e7aee20effad846301447 (patch) | |
tree | a8845da946c0c058b62278d23a447b41384c7584 /sv.c | |
parent | bb0fc3611a9600cbe695ca07788dc98357c8a1a7 (diff) | |
download | perl-e4c5322dee1b8e87ff0e7aee20effad846301447.tar.gz |
with DEBUG_LEAKING_SCALARS, dump multiply-freed scalars
p4raw-id: //depot/perl@30962
Diffstat (limited to 'sv.c')
-rw-r--r-- | sv.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |