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

Tor Lillqvist tml at iki.fi
Thu May 2 03:26:58 PDT 2013


 sd/source/core/sdpage.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 843e5560389011cbec2b51d0bb3bd8b8554b1fa9
Author: Tor Lillqvist <tml at iki.fi>
Date:   Thu May 2 13:24:29 2013 +0300

    Let's avoid adding new pointless comments
    
    Surely *any* line of code that frees memory could have a comment "[avoid]
    memory leak", lol. Such comments are pointless.
    
    Change-Id: I4394db9423fa1470bbe7912519b6fd99ca91101c

diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 8261bf8..48d5662 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -785,7 +785,7 @@ void SdPage::CreateTitleAndLayout(sal_Bool bInit, sal_Bool bCreate )
                 }
                 else
                 {
-                    SdrObject::Free( pObj );  // memory leak i120050
+                    SdrObject::Free( pObj );
                 }
             }
 


More information about the Libreoffice-commits mailing list