To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113608
                 Issue #|113608
                 Summary|animations:  All animation nodes are leaked
               Component|Drawing
                 Version|OOO310m11
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P2
            Subcomponent|code
             Assigned to|thb
             Reported by|zhangjfibm





------- Additional comments from [email protected] Tue Aug  3 08:25:19 
+0000 2010 -------
If you set animation effects to a sd document, you can find that all
AnimationNode nodes are leaked. Depends on how many Animation effects are
created in sd document, the size of memory leak varies. 

The root causes are,

first, wrong AnimationNode::release() implementation.

        // XInterface
        void SAL_CALL AnimationNode::release(  ) throw ()
        {
                OWeakObject::acquire();
        }


second,

Because AnimationNode maintain a childern node list, while each child node also
has a reference back to the parent node,  there is a cyclic loop reference
between them. So when a SdPage object is destoried,  all AnimationNode objects
for it are in fact not freed.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to