On Sun, 15 Jul 2001, Mike Nordell wrote:
> It seems to me the destructor of PD_Document should clean up the contents of
> its member m_vecLists, but since object ownership is sometimes a bit "fuzzy"
> (e.g. classes don't keep their private parts to themselves, sometimes
> letting their children play with them) I'm not 100% sure. Anyone?
>
> To reproduce the leak, just create a list and exit AbiWord.
>
Whoops! Feel free the delete the vectors along with their fl_AutoNum's
with a UT_VECTOR_PURGE_ALL in the destructor. Also feel
free to move the vector into private. Nothing else touches them.
Once the pd_Document is deleted we certainly don't need the fl_AutoNum's
anymore and their effectively owned by pd_Document.
Cheers
Martin