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/06/18 09:00:30 UTC

[Bug 120019] New: There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

          Priority: P3
            Bug ID: 120019
                CC: ooo-issues@incubator.apache.org
          Assignee: issues@performance.openoffice.org
           Summary: There is a memory leak in function
                    EmbeddedObjectRef::~EmbeddedObjectRef()
          Severity: normal
        Issue Type: DEFECT
    Classification: Code
                OS: All
          Reporter: chao.dev.h@gmail.com
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: www
           Product: performance

Steps to reproduce the defect:
1) Launch Aoo3.4
2) New a odp file, save it
3) New a odt file, insert the odp file as an OLE object
4) Save the odt file, close it

Defect: There is a memory leak in function
EmbeddedObjectRef::~EmbeddedObjectRef()

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78375|review?                     |review+
              Flags|                            |

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

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

ChaoHuang <ch...@gmail.com> changed:

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

Yan Ji <ya...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |121366

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

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

--- Comment #1 from ChaoHuang <ch...@gmail.com> ---
The mpImp will be created in the constructor for class EmbeddedObjectRef. But
it will not be released in destructor. Need to free it explicitly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

--- Comment #2 from ChaoHuang <ch...@gmail.com> ---
Created attachment 78375
  --> https://issues.apache.org/ooo/attachment.cgi?id=78375&action=edit
for file "main\svtools\source\misc\embedhlp.cxx"

-- 
You are receiving this mail because:
You are on the CC list for the bug.

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

Yan Ji <ya...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

--- Comment #4 from Yan Ji <ya...@gmail.com> ---
Since last SVT(r1400866) shows there is no memory leak, so close this defect as
resolved.

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

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |120975

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

[Bug 120019] [From Symphony] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

Shenfeng Liu <li...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |liushenf@gmail.com
            Summary|There is a memory leak in   |[From Symphony] There is a
                   |function                    |memory leak in function
                   |EmbeddedObjectRef::~Embedde |EmbeddedObjectRef::~Embedde
                   |dObjectRef()                |dObjectRef()

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

[Bug 120019] There is a memory leak in function EmbeddedObjectRef::~EmbeddedObjectRef()

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

hdu@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
                 CC|                            |hdu@apache.org
          Component|www                         |code
         Resolution|---                         |FIXED
           Assignee|issues@performance.openoffi |ooo-issues@incubator.apache
                   |ce.org                      |.org
   Target Milestone|not determined              |OOo 3.5

--- Comment #3 from hdu@apache.org ---
Great find. The leak was probably introduced by a mis-pimpl-ification of the
EmbeddedObjectRef class.
Applied as 1351632.

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