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

New commits:
commit 2a052cc921ee819c44794f5762023816e4c4343c
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Sep 22 16:54:06 2018 +0100
Commit:     Caolán McNamara <caol...@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.gran...@collabora.co.uk>
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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);
 }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to