incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 120038] There is a memory leak in function SfxObjectShell::CreatePreviewMetaFile_Impl
Date Wed, 20 Jun 2012 13:41:16 GMT

Armin Le Grand <> changed:

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

--- Comment #3 from Armin Le Grand <> ---
ALG: Good find, a SvtCTLOptions incarnation is holded. It points to a
refcounted, single incarnation which will not be able to be freed and it's
refcount will not be correct. Instead of deleting the new created instance, I
opted to just use a local constant variable, e.g.:

    const SvtCTLOptions aCTLOptions;

This cannot be forgotten to be deleted, also 'const as const can' is applied.
Comitted as r1352098. Thanks for the patch!

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

View raw message