On 08/31/2011 10:34 PM, Father Chrysostomos via RT wrote: > On Wed Aug 31 20:41:39 2011, sprout wrote: >> The other warnings are also the result of padlists in @DB::args. If >> they get cloned through @DB::args, their refcounts are not incremented >> (except for that held by param->unreferenced), hence the double free. >> >> Is there any reason padlists can’t be marked AvREAL (so sv_dup_common >> knows to use sv_dup_*inc* on the elems)? In cv_undef, we could turn off >> the REAL flag just before: >> >> SvREFCNT_dec(MUTABLE_SV(CvPADLIST(cv))); >> CvPADLIST(cv) = NULL; > > See the smoke-me/avreal-padlist branch. All tests pass for me. Is > anyone reading my monologue? > > I amThread Previous | Thread Next