p4raw-id: //depot/perl@29359
/* Only the thread that allocated us can free us. */
if (header->interpreter == aTHX)
#endif
+ {
Safefree(cop->cop_label);
+ cop->cop_label = NULL;
+ }
}
CopFILE_free(cop);
CopSTASH_free(cop);
bits = 8;
Safefree(cPVOPo->op_pv);
+ cPVOPo->op_pv = NULL;
cSVOPo->op_sv = (SV*)swash_init("utf8", "", listsv, bits, none);
SvREFCNT_dec(listsv);
SvREFCNT_dec(transv);
/* for XSUBs CvFILE point directly to static memory; __FILE__ */
Safefree(CvFILE(cv));
}
- CvFILE(cv) = 0;
+ CvFILE(cv) = NULL;
#endif
if (!CvISXSUB(cv) && CvROOT(cv)) {