[Libreoffice-commits] core.git: svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat Sep 22 20:16:54 UTC 2018


 svx/source/svdraw/svdograf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2a052cc921ee819c44794f5762023816e4c4343c
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 22 16:54:06 2018 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Sep 22 22:16:34 2018 +0200

    ofz#10610 Direct-leak
    
    Change-Id: If7cd5e7157419c5d3b3a7ff834613e7f6489047c
    Reviewed-on: https://gerrit.libreoffice.org/60900
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx
index 27b1e4d5eeb4..b22cdfac5412 100644
--- a/svx/source/svdraw/svdograf.cxx
+++ b/svx/source/svdraw/svdograf.cxx
@@ -755,7 +755,7 @@ void SdrGrafObj::AddToHdlList(SdrHdlList& rHdlList) const
 {
     SdrHdlList tempList(nullptr);
     SdrRectObj::AddToHdlList( tempList );
-    tempList.RemoveHdl(0);
+    delete tempList.RemoveHdl(0);
     tempList.MoveTo(rHdlList);
 }
 


More information about the Libreoffice-commits mailing list