SRGraphAnnotationList::~SRGraphAnnotationList
SRGraphAnnotationList::~SRGraphAnnotationList(void)
Destructor -- cleans up and destroys the list
Defined in: SRGDat.cpp
Developer Notes
It is important to remember that CObList and derivatives do not delete the data pointed to. Instead it just rudely disconnects their references and leaves them in memory. This will cause memory leaks if not handled properly. So in the destructor of all list and array based objects, we have a clean-up routine which repeatedly deletes the top element from the list until the list is empty.