You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/08/28 10:39:17 UTC

[Bug 120738] New: When Storage object is destoryed, OWeakObject::m_pWeakConnectionPoint is not freed

https://issues.apache.org/ooo/show_bug.cgi?id=120738

          Priority: P3
            Bug ID: 120738
          Assignee: ooo-issues@incubator.apache.org
           Summary: When Storage object is destoryed,
                    OWeakObject::m_pWeakConnectionPoint is not freed
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: zhangjf@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: code
           Product: performance

Storage::release() overwrites OWeakObject::release(), so when Storage object is
released, OWeakObject::release() is not called, while
OWeakObject.m_pWeakConnectionPoint normally is disposed in
OWeakObject::release(). Then OWeakObject.m_pWeakConnectionPoint get leaked.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120738] When Storage object is destoryed, OWeakObject::m_pWeakConnectionPoint is not freed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120738

zhang jianfang <zh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from zhang jianfang <zh...@apache.org> ---
Change to resolved state.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120738] When Storage object is destoryed, OWeakObject::m_pWeakConnectionPoint is not freed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120738

zhang jianfang <zh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79197|                            |review?
              Flags|                            |

--- Comment #1 from zhang jianfang <zh...@apache.org> ---
Created attachment 79197
  --> https://issues.apache.org/ooo/attachment.cgi?id=79197&action=edit
fix code patch

in Storage::release() API, need call to OWeakObject::release() explicitly to
make sure the week object is released correctly.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120738] When Storage object is destoryed, OWeakObject::m_pWeakConnectionPoint is not freed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120738

zhang jianfang <zh...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|ooo-issues@incubator.apache |zhangjf@apache.org
                   |.org                        |

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120738] When Storage object is destoryed, OWeakObject::m_pWeakConnectionPoint is not freed

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=120738

--- Comment #2 from SVN Robot <sv...@dev.null.org> ---
"zhangjf" committed SVN revision 1380957 into trunk:
#i120738#, in Storage::release(), need call to OWeakObject::release()
explici...

-- 
You are receiving this mail because:
You are the assignee for the bug.