|
Text-Scan-0.28 has several lines commented out in DESTROY:
void DESTROY(SV* obj){
fsm m = (fsm)SvIV(SvRV(obj));
// takes *far* too long compared to OS garbage collection.
// _cleanup_(m->root);
// free(m->charclasses);
// free(m->ignore);
// free(m);
}
Unfortunately, this creates a memory leak when repeatedly instantiating the
Text::Scan objects.
|