https://bugs.freedesktop.org/show_bug.cgi?id=47368

--- Comment #96 from Tor Lillqvist <tlillqv...@suse.com> 2012-09-09 11:57:02 
UTC ---
The problem turned out to be pretty trivial and localized after all. (I am not
sure if using valgrind would have helped much, but anyway, valgrind does not
work on OS X 10.8, not even a bleeding edge svn version.)

The problem is that in the AccFrameSelector destructor RemoveEventListener is
called, but only if the mpFrameSel member is non-null. Unfortunately, in the
Invalidate() method mpFrameSel is set to zero but the event listener is not
removed. So when the object is destructed, as mpFrameSel is null, the event
listener does not get removed, but stays active, even if associated with a dead
object.

The solution is to remove the event listener also in Invalidate(). I added a
new tiny function for that.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to