What is the advantage of using the destructor?
I want to extend the answers of my two predecessors: they mean *dynamically* allocated variables, i.e. via new operator, or if you like dirty C, malloc. :-) Static or local variables are automatically taken care of.
releasing resources aquired at time of construction of object and other lifetime of object