[Libreoffice-commits] core.git: Branch 'libreoffice-7-2' - sw/source

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Wed Jul 14 15:32:13 UTC 2021


 sw/source/core/doc/docdesc.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit ac1817a2fb9fde32f40c5afe96bab174621de892
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Wed Jul 14 10:24:17 2021 +0200
Commit:     Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Wed Jul 14 17:31:32 2021 +0200

    tdf#143320 Crash at paste/undo paste again
    
    revert
        commit 790135003b03b38a14efb7e0d345188607020a99
        Author: Noel Grandin <noel.grandin at collabora.co.uk>
        Date:   Wed May 19 20:03:07 2021 +0200
        fix leak when removing PageDesc
    
    Change-Id: Ia6a03dec2db8f68c5c0c34d6ee9fb1889151f29d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118885
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    (cherry picked from commit 2575f9757126228ba43f382a419b92e71ee5b608)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118913
    Reviewed-by: Xisco Fauli <xiscofauli at libreoffice.org>

diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index c51c5cde92ef..a4de7277fc63 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -753,7 +753,6 @@ void SwDoc::DelPageDesc( size_t i, bool bBroadcast )
     PreDelPageDesc(&rDel); // #i7983#
 
     m_PageDescs.erase(m_PageDescs.begin() + i);
-    delete &rDel;
     getIDocumentState().SetModified();
 }
 


More information about the Libreoffice-commits mailing list