From: Dave Mitchell Date: Sun, 15 Apr 2007 16:32:42 +0000 (+0000) Subject: with DEBUG_LEAKING_SCALARS, dump multiply-freed scalars X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e4c5322dee1b8e87ff0e7aee20effad846301447;p=p5sagit%2Fp5-mst-13.2.git with DEBUG_LEAKING_SCALARS, dump multiply-freed scalars p4raw-id: //depot/perl@30962 --- diff --git a/sv.c b/sv.c index 43ab8bd..c194ab3 100644 --- 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;