[Libreoffice-bugs] [Bug 112657] SfxUndoManager_Data:: SfxUndoManager_Data leaks memory with multiple invocations

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 26 15:18:19 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=112657

Alex Thurgood <iplaw67 at tuta.io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #2 from Alex Thurgood <iplaw67 at tuta.io> ---
Confirming, and allegedly leaking here :

struct SfxUndoActions::Impl
{
    std::vector<MarkedUndoAction> maActions;
};

SfxUndoActions::SfxUndoActions() : mpImpl(new Impl) {}

SfxUndoActions::SfxUndoActions( const SfxUndoActions& r ) :
    mpImpl(new Impl)
{
    mpImpl->maActions = r.mpImpl->maActions;
}

SfxUndoActions::~SfxUndoActions()
{
}


in undo.cxx, lines 152-167

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170926/f16ff2d3/attachment.html>


More information about the Libreoffice-bugs mailing list