From: Nicholas Clark Date: Mon, 31 Dec 2007 11:04:54 +0000 (+0000) Subject: assert() that we're not trying to free scalars a second time. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ceb531cd9f4a607a106933280c868d236b5c51fa;p=p5sagit%2Fp5-mst-13.2.git assert() that we're not trying to free scalars a second time. p4raw-id: //depot/perl@32788 --- diff --git a/sv.c b/sv.c index bf8d503..7844c49 100644 --- a/sv.c +++ b/sv.c @@ -5136,6 +5136,7 @@ Perl_sv_clear(pTHX_ register SV *sv) assert(sv); assert(SvREFCNT(sv) == 0); + assert(SvTYPE(sv) != SVTYPEMASK); if (type <= SVt_IV) { /* See the comment in sv.h about the collusion between this early