< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

Re: [reSIProcate] RE: memory leak in timerqueue.cxx ?


> >
> > Also, should TransactionMessage.hxx have a virtual destructor?  Deleting a
> > Message object that is the base for a TransactionMessage or any other
> > derived type will not have the appropriate derived constructor called.
> >

The base class' (Message) destructor is virtual so all subclasses also
have virtual destructors. This should work fine.

Jason