somFree - Remarks

The somFree method releases the storage containing the receiver object by calling the method somDeallocate. No future references should be made to the receiver once this is done. The somFree method calls somDestruct to allow storage pointed to by the object to be freed.

The somFree method should not be called on objects created by somRenew, thus the method is normally only used by code that also created the object.

Note: SOM also supplies a macro, SOMFree, which is used to free a block of memory. This macro should not be used on objects.


[Back: somFree - Parameters]
[Next: somFree - Original Class]