in reply to Re: Managing C library memory in XS
in thread Managing C library memory in XS

Having a flag rather than using two classes would make more sense.