Andrej Mitrovic:

> Otherwise if you want to use the GC there's no point in calling
> GC.free in the destructor since the GC will do that automatically.

And if the OP wants some determinism in the dellocation of the memory allocated 
with malloc, the OP has to use a struct (scope classes used to give the same 
determinism, but they are deprecated).

Bye,
bearophile

Reply via email to