On Tue, 2009-08-25 at 22:09 +0000, cjnfryer@... wrote:
> Revision: 10763
> Log Message:
> -----------
> Confused/out of my depth.
> What don't I understand?
>
> Is this the QT auto-cleanup mechanism? Should it be trying to cleanup a list of pointers?
> If so, how am I supposed to say "don't clean these up, they belong to another widget"?
I've sussed out what was going on here.
It was my use of ViewElementList to hold a list of selected elements for
passing to property rulers.
This was not appropriate as a ViewElementList owns the elements that it
lists and tries to delete them on destruction. Ooops.
It's safe as last committed as the list is cleared but I'll replace this
list with a simple list of elements.
Thanks to Jani for his help in grinding out valgrind to help fix this
problem.
Chris
|